DataFrame.
cov
Calculate the sample covariance for the given columns, specified by their names, as a double value. DataFrame.cov() and DataFrameStatFunctions.cov() are aliases.
DataFrame.cov()
DataFrameStatFunctions.cov()
New in version 1.4.0.
The name of the first column
The name of the second column