Skip to content

Commit

Permalink
docs: row_number always starts at 0 (#8209)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlovell authored Feb 3, 2024
1 parent 3cdc6ce commit 5a26c05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ibis/expr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,10 @@ def ntile(buckets: int | ir.IntegerValue) -> ir.IntegerColumn:
def row_number() -> ir.IntegerColumn:
"""Return an analytic function expression for the current row number.
::: {.callout-note}
`row_number` is normalized across backends to start at 0
:::
Returns
-------
IntegerColumn
Expand Down

0 comments on commit 5a26c05

Please sign in to comment.