Skip to content

Commit 77af3c9

Browse files
committed
fetch upstream at the branch issue-shareMemory
1 parent 80508f1 commit 77af3c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/indexes/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5777,6 +5777,7 @@ def sort_values(
57775777
>>> idx.sort_values(ascending=False, return_indexer=True)
57785778
(Index([1000, 100, 10, 1], dtype='int64'), array([3, 1, 0, 2]))
57795779
"""
5780+
57805781
if key is None and (
57815782
(ascending and self.is_monotonic_increasing)
57825783
or (not ascending and self.is_monotonic_decreasing)

0 commit comments

Comments
 (0)