Skip to content

Commit e0e59b3

Browse files
bashtagenoatamir
authored andcommitted
DOC: Add deprecation to is_categorical (pandas-dev#48414)
1 parent a58cfe0 commit e0e59b3

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)