4.8.12.1.1. statsmodels.tsa.base.datetools.date_parser

statsmodels.tsa.base.datetools.date_parser(timestr, parserinfo=None, **kwargs)[source]

Uses dateutil.parser.parse, but also handles monthly dates of the form 1999m4, 1999:m4, 1999:mIV, 1999mIV and the same for quarterly data with q instead of m. It is not case sensitive. The default for annual data is the end of the year, which also differs from dateutil.