diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index 79c8e64fc4df3..63c696c663e66 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -540,7 +540,7 @@ def assert_categorical_equal( left : Categorical right : Categorical check_dtype : bool, default True - Check that integer dtype of the codes are the same + Check that integer dtype of the codes are the same. check_category_order : bool, default True Whether the order of the categories should be compared, which implies identical integer codes. If False, only the resulting @@ -548,7 +548,7 @@ def assert_categorical_equal( checked regardless. obj : str, default 'Categorical' Specify object name being compared, internally used to show appropriate - assertion message + assertion message. """ _check_isinstance(left, right, Categorical)