Skip to content

Commit

Permalink
docs: Ensure set_sorted description references single-column behavi…
Browse files Browse the repository at this point in the history
…or (#20709)
  • Loading branch information
mcrumiller authored Jan 27, 2025
1 parent 72f4f22 commit 56fb8c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -11431,16 +11431,16 @@ def set_sorted(
descending: bool = False,
) -> DataFrame:
"""
Indicate that one or multiple columns are sorted.
Flag a column as sorted.
This can speed up future operations.
Parameters
----------
column
Column that are sorted
Column that is sorted
descending
Whether the columns are sorted in descending order.
Whether the column is sorted in descending order.
Warnings
--------
Expand Down
6 changes: 3 additions & 3 deletions py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6943,16 +6943,16 @@ def set_sorted(
descending: bool = False,
) -> LazyFrame:
"""
Indicate that one or multiple columns are sorted.
Flag a column as sorted.
This can speed up future operations.
Parameters
----------
column
Columns that are sorted
Column that is sorted
descending
Whether the columns are sorted in descending order.
Whether the column is sorted in descending order.
Warnings
--------
Expand Down

0 comments on commit 56fb8c4

Please sign in to comment.