ibis.expr.api.TableExpr.groupby

TableExpr.groupby(by=None, **additional_grouping_expressions)

Create an intermediate grouped table expression, pending some group operation to be applied with it.

Returns:grouped_expr : GroupedTableExpr

Notes

group_by and groupby are equivalent, with groupby being provided for ease-of-use for pandas users.

Examples

x.group_by([b1, b2]).aggregate(metrics)