pandas.tseries.api.guess_datetime_format
- pandas.tseries.api.guess_datetime_format(dt_str, dayfirst=False)
Guess the datetime format of a given datetime string.
- Parameters:
- dt_str : str
Datetime string to guess the format of.
- dayfirst : bool, default False
If True parses dates with the day first, eg 20/01/2005