Skip to content

Commit

Permalink
chore: add callout about cube cost
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 19, 2024
1 parent 633bb68 commit 1c0553c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ibis/expr/types/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ def rollup(*dims):
def cube(*dims):
"""Construct a cube.
::: {.callout-note}
## Cubes can be very expensive to compute.
:::
Cubes are a shorthand for grouping sets that contain all possible ways
to aggregate a set of grouping keys.
Expand Down

0 comments on commit 1c0553c

Please sign in to comment.