f
by
Calculate the Pearson correlation between col1 and col2.
col1
col2
Expr
Input columns.
f-expression having one row, one column and the correlation coefficient as the value. If one of the columns is non-numeric, the value is NA. The column stype is float32 if both col1 and col2 are float32, and float64 in all the other cases.
NA
float32
float64
cov() – function to calculate covariance between two columns.
cov()