@@ -269,7 +269,7 @@ class Categorical(NDArrayBackedExtensionArray, PandasObject, ObjectStringArrayMi
269269 categories are assumed to be the unique values of `values` (sorted, if
270270 possible, otherwise in the order in which they appear).
271271 ordered : bool, default False
272- Whether or not this categorical is treated as a ordered categorical.
272+ Whether or not this categorical is treated as an ordered categorical.
273273 If True, the resulting categorical will be ordered.
274274 An ordered categorical respects, when sorted, the order of its
275275 `categories` attribute (which in turn is the `categories` argument, if
@@ -1103,7 +1103,7 @@ def set_categories(
11031103 new_categories : Index-like
11041104 The categories in new order.
11051105 ordered : bool, default None
1106- Whether or not the categorical is treated as a ordered categorical.
1106+ Whether or not the categorical is treated as an ordered categorical.
11071107 If not given, do not change the ordered information.
11081108 rename : bool, default False
11091109 Whether or not the new_categories should be considered as a rename
@@ -1277,7 +1277,7 @@ def reorder_categories(self, new_categories, ordered=None) -> Self:
12771277 new_categories : Index-like
12781278 The categories in new order.
12791279 ordered : bool, optional
1280- Whether or not the categorical is treated as a ordered categorical.
1280+ Whether or not the categorical is treated as an ordered categorical.
12811281 If not given, do not change the ordered information.
12821282
12831283 Returns
0 commit comments