From 21d08e7957086ecd08be7fc7934532aa0625dce7 Mon Sep 17 00:00:00 2001 From: Marshall Crumiller Date: Tue, 14 Jan 2025 08:41:03 -0500 Subject: [PATCH] Update doc --- py-polars/polars/dataframe/frame.py | 6 +++--- py-polars/polars/lazyframe/frame.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/py-polars/polars/dataframe/frame.py b/py-polars/polars/dataframe/frame.py index 66a7f7d1472f..6d6db448e323 100644 --- a/py-polars/polars/dataframe/frame.py +++ b/py-polars/polars/dataframe/frame.py @@ -11345,16 +11345,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 -------- diff --git a/py-polars/polars/lazyframe/frame.py b/py-polars/polars/lazyframe/frame.py index 5453daa3995c..5c0a6a87acae 100644 --- a/py-polars/polars/lazyframe/frame.py +++ b/py-polars/polars/lazyframe/frame.py @@ -6909,16 +6909,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 --------