pandas 0.7.0 documentation

pandas.DataFrame.corr

DataFrame.corr(method='pearson')

Compute pairwise correlation of columns, excluding NA/null values

Parameters :

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

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

Returns :

y : DataFrame