Skip to content

Commit 0f192ea

Browse files
committed
DOC add missing arguments to to_datetime docstring
1 parent 174196d commit 0f192ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tseries/tools.py

+6
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,15 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True,
5858
arg : string, datetime, array of strings (with possible NAs)
5959
errors : {'ignore', 'raise'}, default 'ignore'
6060
Errors are ignored by default (values left untouched)
61+
dayfirst : boolean, default False
62+
If True parses dates with the day first, eg 20/01/2005
6163
utc : boolean, default None
6264
Return UTC DatetimeIndex if True (converting any tz-aware
6365
datetime.datetime objects as well)
66+
box : boolean, default True
67+
If True returns a DatetimeIndex, if False returns ndarray of values
68+
format : string, default None
69+
strftime to parse time, eg "%d/%m/%Y"
6470
6571
Returns
6672
-------

0 commit comments

Comments
 (0)