Skip to content

Commit a61769c

Browse files
committed
changes acccording to comments
1 parent 8c1d48e commit a61769c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/arrays/categorical.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -649,10 +649,10 @@ def from_codes(cls, codes, categories=None, ordered=None, dtype=None):
649649
codes : array-like, integers
650650
An integer array, where each integer points to a category in
651651
categories or -1 for NaN
652-
categories : index-like
652+
categories : index-like, optional
653653
The categories for the categorical. Items need to be unique.
654-
ordered : boolean, optional
655-
Whether or not this categorical is treated as a ordered
654+
ordered : bool, optional
655+
Whether or not this categorical is treated as an ordered
656656
categorical. If not given, the resulting categorical will be
657657
unordered.
658658

0 commit comments

Comments
 (0)