We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecc1049 commit e3e1325Copy full SHA for e3e1325
pandas/core/dtypes/common.py
@@ -498,7 +498,7 @@ def is_categorical_dtype(arr_or_dtype) -> bool:
498
# GH#52527
499
warnings.warn(
500
"is_categorical_dtype is deprecated and will be removed in a future "
501
- "version. Use isinstance(dtype, CategoricalDtype) instead",
+ "version. Use isinstance(dtype, pd.CategoricalDtype) instead",
502
FutureWarning,
503
stacklevel=find_stack_level(),
504
)
0 commit comments