pandas 0.7.0 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