66005a3236
### What changes were proposed in this pull request?
This PR is a small followup of https://github.com/apache/spark/pull/28793 and proposes to use `is_categorical_dtype` instead of deprecated `is_categorical`.
`is_categorical_dtype` exists from minimum pandas version we support (https://github.com/pandas-dev/pandas/blob/v0.23.2/pandas/core/dtypes/api.py), and `is_categorical` was deprecated from pandas 1.1.0 (
|
||
---|---|---|
.. | ||
_typing | ||
__init__.py | ||
conversion.py | ||
conversion.pyi | ||
functions.py | ||
functions.pyi | ||
group_ops.py | ||
group_ops.pyi | ||
map_ops.py | ||
map_ops.pyi | ||
serializers.py | ||
typehints.py | ||
types.py | ||
utils.py |