From 178a091d86824606b5971a3ca9704be229d3e492 Mon Sep 17 00:00:00 2001 From: Andy Hayden Date: Tue, 9 Jul 2013 15:48:12 +0100 Subject: [PATCH] DOC to_datetime warning about dayfirst strictness --- pandas/tseries/tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py index c39f65f95d99f..dc3eb1183dd2b 100644 --- a/pandas/tseries/tools.py +++ b/pandas/tseries/tools.py @@ -61,6 +61,8 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True, Errors are ignored by default (values left untouched) dayfirst : boolean, default False If True parses dates with the day first, eg 20/01/2005 + Warning: dayfirst=True is not strict, but will prefer to parse + with day first (this is a known bug). utc : boolean, default None Return UTC DatetimeIndex if True (converting any tz-aware datetime.datetime objects as well)