We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
np.integer
1 parent 5365bfc commit 63d54f2Copy full SHA for 63d54f2
pandas-stubs/core/indexes/base.pyi
@@ -523,7 +523,9 @@ class Index(IndexOpsMixin[S1], ElementOpsMixin[S1]):
523
def slice_locs(
524
self, start: SliceType = None, end: SliceType = None, step: int | None = None
525
): ...
526
- def delete(self, loc: int | AnyArrayLikeInt | Sequence[int]) -> Self: ...
+ def delete(
527
+ self, loc: np.integer | int | AnyArrayLikeInt | Sequence[int]
528
+ ) -> Self: ...
529
@overload
530
def insert(self, loc: int, item: S1) -> Self: ...
531
0 commit comments