Skip to content

Commit e3e1325

Browse files
Update warning message for consistency (#54893)
1 parent ecc1049 commit e3e1325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def is_categorical_dtype(arr_or_dtype) -> bool:
498498
# GH#52527
499499
warnings.warn(
500500
"is_categorical_dtype is deprecated and will be removed in a future "
501-
"version. Use isinstance(dtype, CategoricalDtype) instead",
501+
"version. Use isinstance(dtype, pd.CategoricalDtype) instead",
502502
FutureWarning,
503503
stacklevel=find_stack_level(),
504504
)

0 commit comments

Comments
 (0)