Skip to content

Commit 2e60c24

Browse files
committed
fix(ty): #1360 make it happy
1 parent 1877b98 commit 2e60c24

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pandas-stubs/core/base.pyi

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@ from pandas._typing import (
4343
from pandas.util._decorators import cache_readonly
4444

4545
_ListLike: TypeAlias = ArrayLike | dict[str, np.ndarray] | SequenceNotStr[S1]
46-
NumListLike: TypeAlias = (
47-
ExtensionArray
48-
| np_ndarray_bool
49-
| np_ndarray_anyint
50-
| np_ndarray_float
51-
| np_ndarray_complex
52-
| dict[str, np.ndarray]
53-
| Sequence[complex]
54-
| IndexOpsMixin[complex]
55-
)
5646

5747
class NoNewAttributesMixin:
5848
def __setattr__(self, key: str, value: Any) -> None: ...
@@ -175,3 +165,14 @@ class IndexOpsMixin(OpsMixin, Generic[S1, GenericT_co]):
175165
sorter: _ListLike | None = ...,
176166
) -> np.intp: ...
177167
def drop_duplicates(self, *, keep: DropKeep = ...) -> Self: ...
168+
169+
NumListLike: TypeAlias = (
170+
ExtensionArray
171+
| np_ndarray_bool
172+
| np_ndarray_anyint
173+
| np_ndarray_float
174+
| np_ndarray_complex
175+
| dict[str, np.ndarray]
176+
| Sequence[complex]
177+
| IndexOpsMixin[complex]
178+
)

0 commit comments

Comments
 (0)