DataFrame.
corr
Calculates the correlation of two columns of a DataFrame as a double value. Currently only supports the Pearson Correlation Coefficient. DataFrame.corr() and DataFrameStatFunctions.corr() are aliases of each other.
DataFrame
DataFrame.corr()
DataFrameStatFunctions.corr()
New in version 1.4.0.
The name of the first column
The name of the second column
The correlation method. Currently only supports “pearson”