Skip to content

Commit a7923bd

Browse files
committed
changes acccording to comments
1 parent e2543df commit a7923bd

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
@@ -655,10 +655,10 @@ def from_codes(cls, codes, categories=None, ordered=None, dtype=None):
655655
codes : array-like, integers
656656
An integer array, where each integer points to a category in
657657
categories or -1 for NaN
658-
categories : index-like
658+
categories : index-like, optional
659659
The categories for the categorical. Items need to be unique.
660-
ordered : boolean, optional
661-
Whether or not this categorical is treated as a ordered
660+
ordered : bool, optional
661+
Whether or not this categorical is treated as an ordered
662662
categorical. If not given, the resulting categorical will be
663663
unordered.
664664

0 commit comments

Comments
 (0)