ibis.expr.api.TableExpr.aggregate

TableExpr.aggregate(table, metrics=None, by=None, having=None, **kwds)

Aggregate a table with a given set of reductions, with grouping expressions, and post-aggregation filters.

Parameters:

table : table expression

metrics : expression or expression list

by : optional, default None

Grouping expressions

having : optional, default None

Post-aggregation filters

Returns:

agg_expr : TableExpr