Skip to content

Commit 0daa6bb

Browse files
authored
DOC: Add deprecation to is_categorical (#48414)
1 parent a9138a9 commit 0daa6bb

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)