Share via


DataFrameStatFunctions.Cov(String, String) Method

Definition

Calculate the sample covariance of two numerical columns of a DataFrame.

public double Cov (string colName1, string colName2);
member this.Cov : string * string -> double
Public Function Cov (colName1 As String, colName2 As String) As Double

Parameters

colName1
String

First column name

colName2
String

Second column name

Returns

The covariance of the two columns

Applies to