Skip to content

Commit 62a70dc

Browse files
fix accidentally-deprecated sort method (#304)
fixes #303
1 parent 4f9cafd commit 62a70dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polars/dataframe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,6 @@ export interface DataFrame<T extends Record<string, Series> = any>
14831483
* Sort the DataFrame by column.
14841484
* ___
14851485
* @param by - Column(s) to sort by. Accepts expression input, including selectors. Strings are parsed as column names.
1486-
* @deprecated *since 0.16.0* @use descending
14871486
* @param reverse - Reverse/descending sort.
14881487
* @param descending - Sort in descending order. When sorting by multiple columns, can be specified per column by passing a sequence of booleans.
14891488
* @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<T extends Record<string, Series> = any>
15011500
maintainOrder,
15021501
}: {
15031502
by: ColumnsOrExpr;
1503+
/** @deprecated *since 0.16.0* @use descending */
15041504
reverse?: boolean; // deprecated
15051505
nullsLast?: boolean;
15061506
maintainOrder?: boolean;

0 commit comments

Comments
 (0)