From 62a70dc08e118b97a16d6ecbd4987ee9188d614d Mon Sep 17 00:00:00 2001 From: Luke Deen Taylor Date: Tue, 10 Dec 2024 11:04:25 -0500 Subject: [PATCH] fix accidentally-deprecated sort method (#304) fixes #303 --- polars/dataframe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polars/dataframe.ts b/polars/dataframe.ts index b1bba96a..a798854c 100644 --- a/polars/dataframe.ts +++ b/polars/dataframe.ts @@ -1483,7 +1483,6 @@ export interface DataFrame = any> * Sort the DataFrame by column. * ___ * @param by - Column(s) to sort by. Accepts expression input, including selectors. Strings are parsed as column names. - * @deprecated *since 0.16.0* @use descending * @param reverse - Reverse/descending sort. * @param descending - Sort in descending order. When sorting by multiple columns, can be specified per column by passing a sequence of booleans. * @param nullsLast - Place null values last; can specify a single boolean applying to all columns or a sequence of booleans for per-column control. @@ -1501,6 +1500,7 @@ export interface DataFrame = any> maintainOrder, }: { by: ColumnsOrExpr; + /** @deprecated *since 0.16.0* @use descending */ reverse?: boolean; // deprecated nullsLast?: boolean; maintainOrder?: boolean;