RelationalGroupedDataset.Agg(Column, Column[]) 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.
Compute aggregates by specifying a series of aggregate columns.
public Microsoft.Spark.Sql.DataFrame Agg (Microsoft.Spark.Sql.Column expr, params Microsoft.Spark.Sql.Column[] exprs);
member this.Agg : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.DataFrame
Public Function Agg (expr As Column, ParamArray exprs As Column()) As DataFrame
Parameters
- expr
- Column
Column to aggregate on
- exprs
- Column[]
Additional columns to aggregate on
Returns
New DataFrame object with aggregation applied