Skip to content

Commit 8363293

Browse files
committed
FIX: add missing import
1 parent 4b8da49 commit 8363293

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

pandas/core/series.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3234,7 +3234,6 @@ def sort_values(
32343234

32353235
# GH 35922. Make sorting stable by leveraging nargsort
32363236
values_to_sort = ensure_key_mapped(self, key)._values if key else self._values
3237-
32383237
sorted_index = nargsort(values_to_sort, kind, bool(ascending), na_position)
32393238

32403239
result = self._constructor(

pandas/core/sorting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Iterable,
1111
List,
1212
Optional,
13+
Sequence,
1314
Tuple,
1415
Union,
1516
)

0 commit comments

Comments
 (0)