pandas.Series.cov

Series.cov(other, min_periods=None) [source]

Compute covariance with Series, excluding missing values.

Parameters:
other : Series
min_periods : int, optional

Minimum number of observations needed to have a valid result

Returns:
covariance : float
Normalized by N-1 (unbiased estimator).

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Series.cov.html