Skip to content

Commit ef496f9

Browse files
Update packages/bigframes/bigframes/core/indexes/base.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 084df37 commit ef496f9

File tree

1 file changed

+1
-1
lines changed
  • packages/bigframes/bigframes/core/indexes

1 file changed

+1
-1
lines changed

packages/bigframes/bigframes/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def sort_values(
443443
else order.descending_over(column, na_last)
444444
for column in index_columns
445445
]
446-
is_stable = (kind or constants.DEFAULT_SORT_KIND) in ["stable", "mergesort"]
446+
is_stable = (kind or constants.DEFAULT_SORT_KIND) in constants.STABLE_SORT_KINDS
447447
return Index(self._block.order_by(ordering, stable=is_stable))
448448

449449
def astype(

0 commit comments

Comments
 (0)