Skip to content

Commit d3ce9a1

Browse files
committed
Improved docs infer_datetime_format
Fixes pandas-dev#12152
1 parent ed3d145 commit d3ce9a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/io/parsers.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ class ParserWarning(Warning):
132132
133133
Note: A fast-path exists for iso8601-formatted dates.
134134
infer_datetime_format : boolean, default False
135-
If True and parse_dates is enabled for a column, attempt to infer
136-
the datetime format to speed up the processing
135+
If parse_dates is enabled and this flag is set, pandas will attempt to infer
136+
the format of the datetime strings in the columns, and if it can be
137+
inferred, switch to a faster method of parsing them. In some cases this
138+
can increase the parsing speed by ~5-10x.
137139
keep_date_col : boolean, default False
138140
If True and parse_dates specifies combining multiple columns then
139141
keep the original columns.

0 commit comments

Comments
 (0)