Skip to content

Commit e4a736e

Browse files
committed
DOC: boolean parse_dates only applies to index #1816
1 parent 31240e2 commit e4a736e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/io/parsers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class DateConversionError(Exception):
5858
If na_values are specified and keep_default_na is False the default NaN
5959
values are overridden, otherwise they're appended to
6060
parse_dates : boolean, list of ints or names, list of lists, or dict
61-
True -> try parsing all columns
62-
[1, 2, 3] -> try parsing columns 1, 2, 3 each as a separate date column
63-
[[1, 3]] -> combine columns 1 and 3 and parse as a single date column
61+
If True -> try parsing the index.
62+
If [1, 2, 3] -> try parsing columns 1, 2, 3 each as a separate date column.
63+
If [[1, 3]] -> combine columns 1 and 3 and parse as a single date column.
6464
{'foo' : [1, 3]} -> parse columns 1, 3 as date and call result 'foo'
6565
keep_date_col : boolean, default False
6666
If True and parse_dates specifies combining multiple columns then

0 commit comments

Comments
 (0)