A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/11142 below:

infer_datetime_format fails without zero-padding · Issue #11142 · pandas-dev/pandas · GitHub

I think this can be fixed by just padding tokens in the inference step. The dates do parse, just always fall back to the slow path, even with infer_datetime_format=True

In [22]: from pandas.tseries.tools import _guess_datetime_format

In [23]: _guess_datetime_format('02/02/2014')
Out[23]: '%m/%d/%Y'

In [24]: _guess_datetime_format('2/2/2014')

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4