Skip to content

Commit

Permalink
GH1049 Deprecate Index and Grouper methods for 2.0 migration (#1050)
Browse files Browse the repository at this point in the history
* GH1049 Deprecate Index and Grouper methods for migration to 2.0

* GH1049 Deprecate use_nullable_dtypes in read_parquet
  • Loading branch information
loicdiridollou authored Nov 25, 2024
1 parent d289ef5 commit facb30f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions pandas-stubs/core/groupby/grouper.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,3 @@ class Grouping:
def result_index(self) -> Index: ...
@cache_readonly
def group_index(self) -> Index: ...
@cache_readonly
def groups(self) -> dict[Hashable, np.ndarray]: ...
8 changes: 0 additions & 8 deletions pandas-stubs/core/indexes/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,6 @@ class Index(IndexOpsMixin[S1]):
def is_unique(self) -> bool: ...
@property
def has_duplicates(self) -> bool: ...
def is_boolean(self) -> bool: ...
def is_integer(self) -> bool: ...
def is_floating(self) -> bool: ...
def is_numeric(self) -> bool: ...
def is_object(self) -> bool: ...
def is_categorical(self) -> bool: ...
def is_interval(self) -> bool: ...
def holds_integer(self): ...
@property
def inferred_type(self) -> _str: ...
def __reduce__(self): ...
Expand Down
1 change: 0 additions & 1 deletion pandas-stubs/io/parquet.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ def read_parquet(
engine: ParquetEngine = ...,
columns: list[str] | None = ...,
storage_options: StorageOptions = ...,
use_nullable_dtypes: bool = ...,
**kwargs: Any,
) -> DataFrame: ...

0 comments on commit facb30f

Please sign in to comment.