Skip to content

Commit 0cbe41a

Browse files
authored
Update doc for parse_dates arg to read_csv (#55688)
Added note that values are joined with a space before parsing for the combined column cases.
1 parent d7b9443 commit 0cbe41a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/parsers/readers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@
243243
* ``list`` of ``int`` or names. e.g. If ``[1, 2, 3]`` -> try parsing columns 1, 2, 3
244244
each as a separate date column.
245245
* ``list`` of ``list``. e.g. If ``[[1, 3]]`` -> combine columns 1 and 3 and parse
246-
as a single date column.
246+
as a single date column. Values are joined with a space before parsing.
247247
* ``dict``, e.g. ``{{'foo' : [1, 3]}}`` -> parse columns 1, 3 as date and call
248-
result 'foo'
248+
result 'foo'. Values are joined with a space before parsing.
249249
250250
If a column or index cannot be represented as an array of ``datetime``,
251251
say because of an unparsable value or a mixture of timezones, the column

0 commit comments

Comments
 (0)