Skip to content

Commit 2945344

Browse files
Update packages/bigframes/bigframes/dataframe.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent ba1189c commit 2945344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bigframes/bigframes/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,7 @@ def sort_index(
24522452
else order.descending_over(column, na_last)
24532453
for column in index_columns
24542454
]
2455-
is_stable = (kind or constants.DEFAULT_SORT_KIND) in ["stable", "mergesort"]
2455+
is_stable = (kind or constants.DEFAULT_SORT_KIND) in constants.STABLE_SORT_KINDS
24562456
block = self._block.order_by(ordering, stable=is_stable)
24572457
else: # axis=1
24582458
_, indexer = self.columns.sort_values(

0 commit comments

Comments
 (0)