Skip to content

Commit

Permalink
feat(api): add agg alias for aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 3, 2022
1 parent 23af567 commit 907583f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/expr/types/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ def aggregate(

return agg.to_expr()

agg = aggregate

def distinct(self) -> Table:
"""Compute the set of unique rows in the table."""
return ops.Distinct(self).to_expr()
Expand Down

0 comments on commit 907583f

Please sign in to comment.