Skip to content

Commit fbd177a

Browse files
jfadiahedeershowk
authored andcommitted
DOC: Update read_csv docs to reflect behaviour with parse_dates (pandas-dev#55176)
* Update read_csv docs * Fix line length
1 parent 113c333 commit fbd177a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/parsers/readers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@
238238
default False
239239
The behavior is as follows:
240240
241-
* ``bool``. If ``True`` -> try parsing the index.
241+
* ``bool``. If ``True`` -> try parsing the index. Note: Automatically set to
242+
``True`` if ``date_format`` or ``date_parser`` arguments have been passed.
242243
* ``list`` of ``int`` or names. e.g. If ``[1, 2, 3]`` -> try parsing columns 1, 2, 3
243244
each as a separate date column.
244245
* ``list`` of ``list``. e.g. If ``[[1, 3]]`` -> combine columns 1 and 3 and parse

0 commit comments

Comments
 (0)