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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for