Skip to content

Commit ee0b708

Browse files
bashtagemeeseeksmachine
authored andcommitted
Backport PR pandas-dev#48414: DOC: Add deprecation to is_categorical
1 parent 74ee2d2 commit ee0b708

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/dtypes/common.py

+3
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ def is_categorical(arr) -> bool:
280280
"""
281281
Check whether an array-like is a Categorical instance.
282282
283+
.. deprecated:: 1.1.0
284+
Use ``is_categorical_dtype`` instead.
285+
283286
Parameters
284287
----------
285288
arr : array-like

0 commit comments

Comments
 (0)