Skip to content

Commit 5ebb491

Browse files
committed
DOC: Add ordered categorical
1 parent c02059d commit 5ebb491

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/source/user_guide/io.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -4657,9 +4657,10 @@ See the `Full Documentation <https://github.com/wesm/feather>`__.
46574657
'd': np.arange(4.0, 7.0, dtype='float64'),
46584658
'e': [True, False, True],
46594659
'f': pd.Categorical(list('abc')),
4660-
'g': pd.date_range('20130101', periods=3),
4661-
'h': pd.date_range('20130101', periods=3, tz='US/Eastern'),
4662-
'i': pd.date_range('20130101', periods=3, freq='ns')})
4660+
'g': pd.Categorical(list('abc'), ordered=True),
4661+
'h': pd.date_range('20130101', periods=3),
4662+
'i': pd.date_range('20130101', periods=3, tz='US/Eastern'),
4663+
'j': pd.date_range('20130101', periods=3, freq='ns')})
46634664
46644665
df
46654666
df.dtypes

0 commit comments

Comments
 (0)