We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3607cc0 commit bcaba3cCopy full SHA for bcaba3c
packages/bigframes/bigframes/series.py
@@ -1797,7 +1797,7 @@ def sort_values(
1797
raise ValueError(f"No axis named {axis} for object type Series")
1798
if na_position not in ["first", "last"]:
1799
raise ValueError("Param na_position must be one of 'first' or 'last'")
1800
- is_stable = (kind or constants.DEFAULT_SORT_KIND) in ["stable", "mergesort"]
+ is_stable = (kind or constants.DEFAULT_SORT_KIND) in constants.STABLE_SORT_KINDS
1801
block = self._block.order_by(
1802
[
1803
order.ascending_over(self._value_column, (na_position == "last"))
0 commit comments