LazyGroupBy.agg
Aggregates the groups per eager aggregation specifications.
Parameters
specs | the aggregations |
Returns
the deferred aggregation (blocking for streaming).
Ditto, from aggregate expressions: each argument is an aggregation over a direct column reference (col("v").sum(), .quantile(q), ...), optionally renamed - the rename becomes the output column name.
Parameters
exprs | the aggregate expressions |
Returns
the deferred aggregation.
Throws
DataFrameException for non-aggregate arguments.