Share via


RelationalGroupedDataset.Max(String[]) Method

Definition

Compute the max value for each numeric columns for each group.

public Microsoft.Spark.Sql.DataFrame Max (params string[] colNames);
member this.Max : string[] -> Microsoft.Spark.Sql.DataFrame
Public Function Max (ParamArray colNames As String()) As DataFrame

Parameters

colNames
String[]

Name of columns to compute max on

Returns

New DataFrame object with max applied

Applies to