Skip to content

Commit 5dfca05

Browse files
committed
changes acccording to comments
1 parent d9a6278 commit 5dfca05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/arrays/categorical.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,10 +619,10 @@ def from_codes(cls, codes, categories=None, ordered=None, dtype=None):
619619
codes : array-like, integers
620620
An integer array, where each integer points to a category in
621621
categories or -1 for NaN
622-
categories : index-like
622+
categories : index-like, optional
623623
The categories for the categorical. Items need to be unique.
624-
ordered : boolean, optional
625-
Whether or not this categorical is treated as a ordered
624+
ordered : bool, optional
625+
Whether or not this categorical is treated as an ordered
626626
categorical. If not given, the resulting categorical will be
627627
unordered.
628628

0 commit comments

Comments
 (0)