Share via


DataFrame.Agg(Column, Column[]) Method

Definition

Aggregates on the entire DataFrame without groups.

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 expression to aggregate

exprs
Column[]

Additional column expressions

Returns

DataFrame object

Applies to