File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -578,9 +578,6 @@ Deprecations
578
578
- :meth: `Index.is_floating ` has been deprecated. Use :func: `pandas.api.types.is_float_dtype ` instead (:issue: `50042 `)
579
579
- :meth: `Index.holds_integer ` has been deprecated. Use :func: `pandas.api.types.infer_dtype ` instead (:issue: `50243 `)
580
580
- :meth: `Index.is_categorical ` has been deprecated. Use :func: `pandas.api.types.is_categorical_dtype ` instead (:issue: `50042 `)
581
-
582
- - :meth: `Index.is_categorical ` has been deprecated. Use :func: `pandas.api.types.is_categorical_dtype ` instead (:issue: `50042 `)
583
-
584
581
.. ---------------------------------------------------------------------------
585
582
.. _whatsnew_200.prior_deprecations :
586
583
Original file line number Diff line number Diff line change @@ -5046,7 +5046,7 @@ def _can_hold_identifiers_and_holds_name(self, name) -> bool:
5046
5046
if (
5047
5047
self .is_object ()
5048
5048
or is_string_dtype (self .dtype )
5049
- or is_categorical_dtype (self )
5049
+ or is_categorical_dtype (self . dtype )
5050
5050
):
5051
5051
return name in self
5052
5052
return False
You can’t perform that action at this time.
0 commit comments