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