Skip to content

Commit 5c21050

Browse files
committed
revert changes due to numpy 2.4.0rc1
1 parent b517655 commit 5c21050

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

pandas-stubs/core/indexes/multi.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class MultiIndex(Index):
152152
def get_indexer(self, target, method=..., limit=..., tolerance=...): ...
153153
def get_indexer_non_unique(self, target): ...
154154
def reindex(self, target, method=..., level=..., limit=..., tolerance=...): ...
155-
def get_slice_bound( # pyright: ignore[reportIncompatibleMethodOverride]
155+
def get_slice_bound(
156156
self, label: Hashable | Sequence[Hashable], side: str
157157
) -> int: ...
158158
def get_loc_level(

pandas-stubs/core/series.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -342,16 +342,6 @@ class Series(IndexOpsMixin[S1], ElementOpsMixin[S1], NDFrame):
342342
__index__: ClassVar[None]
343343
__hash__: ClassVar[None] # pyright: ignore[reportIncompatibleMethodOverride]
344344

345-
@overload
346-
def __new__(
347-
cls,
348-
data: AxesData,
349-
index: None = None,
350-
*,
351-
dtype: type[np.float64],
352-
name: Hashable = None,
353-
copy: bool | None = None,
354-
) -> Series[float]: ...
355345
@overload
356346
def __new__(
357347
cls,

0 commit comments

Comments
 (0)