Skip to content

Commit e6f5022

Browse files
Backport PR #48414 on branch 1.5.x (DOC: Add deprecation to is_categorical) (#48418)
Backport PR #48414: DOC: Add deprecation to is_categorical Co-authored-by: Kevin Sheppard <[email protected]>
1 parent bccc060 commit e6f5022

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)