Skip to content

Commit

Permalink
DOC: Add deprecation to is_categorical (pandas-dev#48414)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage authored and noatamir committed Nov 9, 2022
1 parent a58cfe0 commit e0e59b3
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 e0e59b3

Please sign in to comment.