Series.corr(other, method='pearson', min_periods=None)
[source]
Compute correlation with other
Series, excluding missing values
Parameters: |
other : Series method : {‘pearson’, ‘kendall’, ‘spearman’}
min_periods : int, optional Minimum number of observations needed to have a valid result |
---|---|
Returns: |
correlation : float |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Series.corr.html