pandas 0.8.1 documentation

pandas.Series.corr

Series.corr(other, method='pearson')

Compute correlation two Series, excluding missing values

Parameters :

other : Series

method : {‘pearson’, ‘kendall’, ‘spearman’}

pearson : standard correlation coefficient kendall : Kendall Tau correlation coefficient spearman : Spearman rank correlation

Returns :

correlation : float