Skip to content

Commit 0bc2f6a

Browse files
committed
py310 happiness
1 parent d0477e4 commit 0bc2f6a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pandas-stubs/_typing.pyi

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,10 @@ HashableT5 = TypeVar("HashableT5", bound=Hashable)
8585

8686
# array-like
8787

88-
ArrayLike: TypeAlias = ExtensionArray | np.ndarray[tuple[int], np.dtype[Any]]
88+
ArrayLike: TypeAlias = ExtensionArray | npt.NDArray[Any]
8989
AnyArrayLike: TypeAlias = ArrayLike | Index | Series
9090
AnyArrayLikeInt: TypeAlias = (
91-
IntegerArray
92-
| Index[int]
93-
| Series[int]
94-
| np.ndarray[tuple[int], np.dtype[np.integer]]
91+
IntegerArray | Index[int] | Series[int] | npt.NDArray[np.integer]
9592
)
9693

9794
# list-like

0 commit comments

Comments
 (0)