--- title: delta description: The page is a detailed guide on how to calculate the percent change of a variable using the 'delta' function in the OpenBBTerminal's forecast model. It demonstrates how to use the 'openbb.forecast.delta' function through Python code. keywords: - delta - '%change calculation' - variable change - forecast model - openbb.forecast.delta - target_column --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Calculate the %change of a variable based on a specific column Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/forecast/forecast_model.py#L335)] ```python openbb.forecast.delta(dataset: pd.DataFrame, target_column: str = "close") ``` --- ## Parameters This function does not take any parameters. --- ## Returns This function does not return anything ---