Skip to content

Commit ffaaef5

Browse files
TYP: np.ndarray does not yet accept type parameters (#39792)
1 parent 0afde72 commit ffaaef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/algorithms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ def _sort_mixed(values):
22082208
return np.concatenate([nums, np.asarray(strs, dtype=object)])
22092209

22102210

2211-
def _sort_tuples(values: np.ndarray[tuple]):
2211+
def _sort_tuples(values: np.ndarray):
22122212
"""
22132213
Convert array of tuples (1d) to array or array (2d).
22142214
We need to keep the columns separately as they contain different types and

0 commit comments

Comments
 (0)