Skip to content

Commit 3e35c84

Browse files
committed
DOC: fix doc-string in Categorical constructor, #10356
1 parent 9311a39 commit 3e35c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/categorical.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class Categorical(PandasObject):
177177
[a, b, c, a, b, c]
178178
Categories (3, object): [a < b < c]
179179
180-
>>> a = Categorical(['a','b','c','a','b','c'], ['c', 'b', 'a'])
180+
>>> a = Categorical(['a','b','c','a','b','c'], ['c', 'b', 'a'], ordered=True)
181181
>>> a.min()
182182
'c'
183183
"""

0 commit comments

Comments
 (0)