Skip to content

Commit dd0bbc2

Browse files
committed
refactor(api)!: make nth positional-only
1 parent 13695f1 commit dd0bbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/expr/types/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,7 @@ def lead(
27742774
"""
27752775
return ops.Lead(self, offset, default).to_expr()
27762776

2777-
def nth(self, n: int | ir.IntegerValue) -> Column:
2777+
def nth(self, n: int | ir.IntegerValue, /) -> Column:
27782778
"""Return the `n`th value (0-indexed) over a window.
27792779
27802780
`.nth(0)` is equivalent to `.first()`. Negative will result in `NULL`.

0 commit comments

Comments
 (0)