File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,13 +241,13 @@ class Categorical(ExtensionArray, PandasObject):
241
241
categories will be replaced with NaN.
242
242
categories : Index-like (unique), optional
243
243
The unique categories for this categorical. If not given, the
244
- categories are assumed to be the unique values of values (sorted, if
244
+ categories are assumed to be the unique values of ` values` (sorted, if
245
245
possible, otherwise in the order in which they appear).
246
246
ordered : boolean, (default False)
247
247
Whether or not this categorical is treated as a ordered categorical.
248
248
If True, the resulting categorical will be ordered.
249
249
An ordered categorical respects, when sorted, the order of its
250
- ' categories' attribute (which in turn is the ' categories' argument, if
250
+ ` categories` attribute (which in turn is the ` categories` argument, if
251
251
provided).
252
252
dtype : CategoricalDtype
253
253
An instance of ``CategoricalDtype`` to use for this categorical
You can’t perform that action at this time.
0 commit comments