DataFrameStatFunctions.Crosstab(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes a pair-wise frequency table of the given columns, also known as a contingency table.
public Microsoft.Spark.Sql.DataFrame Crosstab(string colName1, string colName2);
member this.Crosstab : string * string -> Microsoft.Spark.Sql.DataFrame
Public Function Crosstab (colName1 As String, colName2 As String) As DataFrame
Parameters
- colName1
- String
First column name
- colName2
- String
Second column name
Returns
DataFrame object