pandas.Series.cov

Series.cov(other, min_periods=None)

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). :