ibis.expr.api.TableExpr.aggregate

TableExpr.aggregate(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

Return type

TableExpr