4.8.12.1.4. statsmodels.tsa.base.datetools.dates_from_str

statsmodels.tsa.base.datetools.dates_from_str(dates)[source]

Turns a sequence of date strings and returns a list of datetime.

Parameters:

dates : array-like

A sequence of abbreviated dates as string. For instance, ‘1996m1’ or ‘1996Q1’. The datetime dates are at the end of the period.

Returns:

date_list : array

A list of datetime types.