Skip to content

Commit cf19d71

Browse files
committed
DOC: minor doc changes
1 parent e60ddfe commit cf19d71

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/io.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ representing December 30th, 2011 at 00:00:00)
527527
# Try to infer the format for the index column
528528
df = pd.read_csv('foo.csv', index_col=0, parse_dates=True,
529529
infer_datetime_format=True)
530+
df
530531
531532
.. ipython:: python
532533
:suppress:

doc/source/v0.13.1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Enhancements
7171

7272
- pd.to_csv and pd.to_datetime learned a new ``infer_datetime_format`` keyword which greatly
7373
improves parsing perf in many cases. Thanks to @lexual for suggesting and @danbirken
74-
for rapidly implementing. (:issue:`5490`,:issue:`6021`)
74+
for rapidly implementing. (:issue:`5490`, :issue:`6021`)
7575

7676
- The ``ArrayFormatter`` for ``datetime`` and ``timedelta64`` now intelligently
7777
limit precision based on the values in the array (:issue:`3401`)
@@ -150,7 +150,7 @@ Enhancements
150150

151151
- Added optional ``infer_datetime_format`` to ``read_csv``, ``Series.from_csv``
152152
and ``DataFrame.read_csv`` (:issue:`5490`)
153-
153+
154154
If ``parse_dates`` is enabled and this flag is set, pandas will attempt to
155155
infer the format of the datetime strings in the columns, and if it can
156156
be inferred, switch to a faster method of parsing them. In some cases

0 commit comments

Comments
 (0)