8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keys
1 parent 3fd047f commit 8632788Copy full SHA for 8632788
spec/API_specification/dataframe_api/dataframe_object.py
@@ -240,7 +240,7 @@ def get_column_names(self) -> Sequence[str]:
240
241
def sorted_indices(
242
self,
243
- keys: Sequence[str],
+ keys: Sequence[str] | None = None,
244
*,
245
ascending: Sequence[bool] | bool = True,
246
nulls_position: Literal['first', 'last'] = 'last',
@@ -254,8 +254,9 @@ def sorted_indices(
254
255
Parameters
256
----------
257
- keys : Sequence[str]
+ keys : Sequence[str] | None
258
Names of columns to sort by.
259
+ If `None`, sort by all columns.
260
ascending : Sequence[bool] or bool
261
If `True`, sort by all keys in ascending order.
262
If `False`, sort by all keys in descending order.
0 commit comments