Skip to content

Commit 6a8e899

Browse files
paulpellissiercompassmroeschke
authored andcommitted
Update warning message for consistency (pandas-dev#54893)
1 parent 6555997 commit 6a8e899

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)