Skip to content

Commit 29c6df6

Browse files
GH1049 Deprecate Index and Grouper methods for migration to 2.0
1 parent 70ee340 commit 29c6df6

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

pandas-stubs/core/groupby/grouper.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,3 @@ class Grouping:
7272
def result_index(self) -> Index: ...
7373
@cache_readonly
7474
def group_index(self) -> Index: ...
75-
@cache_readonly
76-
def groups(self) -> dict[Hashable, np.ndarray]: ...

pandas-stubs/core/indexes/base.pyi

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,6 @@ class Index(IndexOpsMixin[S1]):
309309
def is_unique(self) -> bool: ...
310310
@property
311311
def has_duplicates(self) -> bool: ...
312-
def is_boolean(self) -> bool: ...
313-
def is_integer(self) -> bool: ...
314-
def is_floating(self) -> bool: ...
315-
def is_numeric(self) -> bool: ...
316-
def is_object(self) -> bool: ...
317-
def is_categorical(self) -> bool: ...
318-
def is_interval(self) -> bool: ...
319-
def holds_integer(self): ...
320312
@property
321313
def inferred_type(self) -> _str: ...
322314
def __reduce__(self): ...

0 commit comments

Comments
 (0)