Skip to content

Commit

Permalink
feat(api): add agg alias to group_by
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 5, 2022
1 parent c9848ef commit 6b6367c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/expr/types/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def _column_wrapper(self, attr):
def aggregate(self, metrics=None, **kwds):
return self.table.aggregate(metrics, by=self.by, having=self._having, **kwds)

agg = aggregate

def having(self, expr: ir.BooleanScalar) -> GroupedTable:
"""Add a post-aggregation result filter `expr`.
Expand Down

0 comments on commit 6b6367c

Please sign in to comment.