Skip to content

Commit ab9b082

Browse files
committed
DOC: Add categorical column in example DataFrame
Closes #27955
1 parent fdd2e3f commit ab9b082

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/user_guide/io.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4724,7 +4724,8 @@ See the documentation for `pyarrow <https://arrow.apache.org/docs/python/>`__ an
47244724
'd': np.arange(4.0, 7.0, dtype='float64'),
47254725
'e': [True, False, True],
47264726
'f': pd.date_range('20130101', periods=3),
4727-
'g': pd.date_range('20130101', periods=3, tz='US/Eastern')})
4727+
'g': pd.date_range('20130101', periods=3, tz='US/Eastern'),
4728+
'h': pd.Categorical(list('abc'))})
47284729
47294730
df
47304731
df.dtypes

0 commit comments

Comments
 (0)