Skip to content

Commit

Permalink
Backport PR pandas-dev#48414: DOC: Add deprecation to is_categorical
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage authored and meeseeksmachine committed Sep 6, 2022
1 parent 74ee2d2 commit ee0b708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/core/dtypes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ def is_categorical(arr) -> bool:
"""
Check whether an array-like is a Categorical instance.
.. deprecated:: 1.1.0
Use ``is_categorical_dtype`` instead.
Parameters
----------
arr : array-like
Expand Down

0 comments on commit ee0b708

Please sign in to comment.