Skip to main content

variance

Calculate the variance of a target column.

Variance measures the dispersion of a set of data points around their mean. It is a key metric for assessing the volatility and stability of financial returns or other time series data.

Parameters

data: list[openbb_core.provider.abstract.data.Data]

The time series data as a list of data points.

Optional: False


target: str

The name of the column for which to calculate variance.

Optional: False


Returns

results: list[Data]

Serializable results.


provider: None

Provider name.


warnings: Optional[list[Warning_]]

list of warnings.


chart: Optional[Chart]

Chart object.


extra: dict[str, Any]

Extra info.


On this page