Skip to content

Commit bcaba3c

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bigframes/bigframes/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ def sort_values(
17971797
raise ValueError(f"No axis named {axis} for object type Series")
17981798
if na_position not in ["first", "last"]:
17991799
raise ValueError("Param na_position must be one of 'first' or 'last'")
1800-
is_stable = (kind or constants.DEFAULT_SORT_KIND) in ["stable", "mergesort"]
1800+
is_stable = (kind or constants.DEFAULT_SORT_KIND) in constants.STABLE_SORT_KINDS
18011801
block = self._block.order_by(
18021802
[
18031803
order.ascending_over(self._value_column, (na_position == "last"))

0 commit comments

Comments
 (0)