Skip to content

Commit dea0949

Browse files
odimkacopybara-github
authored andcommitted
Fix the docstring for kd.index.
PiperOrigin-RevId: 715761887 Change-Id: Idd2b426334be1ee55bc27d5cca66c6b1e6615cd0
1 parent 5bc435d commit dea0949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/koladata/operators/slices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def normalize_dim(x, dim):
770770
],
771771
)
772772
def index(x, dim=-1):
773-
"""Returns the indices of the elements computed over the last dim dimensions.
773+
"""Returns the indices of the elements computed over dimension `dim`.
774774
775775
The resulting slice has the same shape as the input.
776776

0 commit comments

Comments
 (0)