pandas.api.typing.ExponentialMovingWindow.cov

pandas 3.1.1 · Window operations · method

Estimate how pairs of numeric inputs vary together from aligned observations.

Call syntax

pd.api.typing.ExponentialMovingWindow.cov(other=None, pairwise=None, bias=False, numeric_only=False)

Run the example

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

Parameters

ParameterRequirementAccepted values and behavior
other Optional
Positional or keyword
Default None
Series or DataFrame

Supply the second object or value used in the operation.

pairwise Optional
Positional or keyword
Default None
bool

Choose whether to compare all eligible column pairs.

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