File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ from pandas.core.dtypes.dtypes import (
7777# copy: bool = True
7878# ) -> NumpyExtensionArray: ...
7979@overload
80- def array ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
80+ def array ( # type: ignore[overload-overlap]
8181 data : SequenceNotStr [Any ] | np_ndarray | ExtensionArray | Index | Series ,
8282 dtype : CategoryDtypeArg ,
8383 copy : bool = True ,
@@ -111,14 +111,8 @@ def array(
111111 copy : bool = True ,
112112) -> SparseArray : ...
113113@overload
114- def array ( # type: ignore[overload-overlap]
115- data : (
116- Sequence [bool | np .bool | NAType | None ]
117- | np_ndarray_bool
118- | BooleanArray
119- | Index [bool ]
120- | Series [int ]
121- ),
114+ def array ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
115+ data : Sequence [bool | np .bool | NAType | None ] | np_ndarray_bool | BooleanArray ,
122116 dtype : PandasBooleanDtypeArg | None = None ,
123117 copy : bool = True ,
124118) -> BooleanArray : ...
You can’t perform that action at this time.
0 commit comments