pandas.api.typing.ExponentialMovingWindow.var

pandas 3.1.1 · Window operations · method

Estimate variance, the spread around the mean. ddof controls the divisor.

Call syntax

pd.api.typing.ExponentialMovingWindow.var(bias=False, numeric_only=False)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
bias Optional
Positional or keyword
Default False
bool

Choose whether to apply a statistical bias correction.

numeric_only Optional
Positional or keyword
Default False
bool

Restrict the calculation to columns pandas considers numeric where applicable.

Returns

Series or DataFrame