Skip to content

Commit e1dd15b

Browse files
authored
DOC: Make use_nullable_dtypes example easier to understand (#50294)
1 parent 0986922 commit e1dd15b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/source/user_guide/io.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,9 @@ Setting ``use_nullable_dtypes=True`` will result in nullable dtypes for every co
471471
3,4.5,False,b,6,7.5,True,a,12-31-2019,
472472
"""
473473
474-
pd.read_csv(StringIO(data), use_nullable_dtypes=True, parse_dates=["i"])
474+
df = pd.read_csv(StringIO(data), use_nullable_dtypes=True, parse_dates=["i"])
475+
df
476+
df.dtypes
475477
476478
.. _io.categorical:
477479

0 commit comments

Comments
 (0)