Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jan 17, 2024
1 parent 3ce1235 commit 711286c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -5306,7 +5306,7 @@ def with_row_count(self, name: str = "row_nr", offset: int = 0) -> Self:
Add a column at index 0 that counts the rows.
.. deprecated::
Use `with_row_index` instead.
Use :meth:`with_row_index` instead.
Note that the default column name has changed from 'row_nr' to 'index'.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4650,7 +4650,7 @@ def with_row_count(self, name: str = "row_nr", offset: int = 0) -> Self:
Add a column at index 0 that counts the rows.
.. deprecated::
Use `with_row_index` instead.
Use :meth:`with_row_index` instead.
Note that the default column name has changed from 'row_nr' to 'index'.
Parameters
Expand Down

0 comments on commit 711286c

Please sign in to comment.