A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/50042 below:

Deprecate Index.is_(boolean|categorical|integer|floating|numeric|object|interval) · Issue #50042 · pandas-dev/pandas · GitHub

Feature Type Problem Description

I propose deprecating the mentioned methods on Index.

I suggest dtype checking should be the same for indexes, series and arrays, so e.g. if users want to check the dtype of an index they should use the functions in pandas.api.types, e.g. for numeric dtype checks, do pd.api.types.is_numeric_dtype(idx).

Feature Description

Deprecate the mentioned methods and make users use the functions they'd use for series, i.e. the dtype checking functions in pandas.api.types.

Alternative Solutions

The alternative is not deprecating the methods...

Methods to deprecate:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4