File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -527,6 +527,7 @@ representing December 30th, 2011 at 00:00:00)
527
527
# Try to infer the format for the index column
528
528
df = pd.read_csv(' foo.csv' , index_col = 0 , parse_dates = True ,
529
529
infer_datetime_format = True )
530
+ df
530
531
531
532
.. ipython :: python
532
533
:suppress:
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ Enhancements
71
71
72
72
- pd.to_csv and pd.to_datetime learned a new ``infer_datetime_format`` keyword which greatly
73
73
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`)
75
75
76
76
- The ``ArrayFormatter`` for ``datetime`` and ``timedelta64`` now intelligently
77
77
limit precision based on the values in the array (:issue:`3401`)
@@ -150,7 +150,7 @@ Enhancements
150
150
151
151
- Added optional ``infer_datetime_format`` to ``read_csv``, ``Series.from_csv``
152
152
and ``DataFrame.read_csv`` (:issue:`5490`)
153
-
153
+
154
154
If ``parse_dates`` is enabled and this flag is set, pandas will attempt to
155
155
infer the format of the datetime strings in the columns, and if it can
156
156
be inferred, switch to a faster method of parsing them. In some cases
You can’t perform that action at this time.
0 commit comments