diff --git a/python/fbprophet/forecaster.py b/python/fbprophet/forecaster.py index e90835a..a420a5a 100644 --- a/python/fbprophet/forecaster.py +++ b/python/fbprophet/forecaster.py @@ -552,7 +552,7 @@ class Prophet(object): prior_scales[row.holiday] = ps for offset in range(lw, uw + 1): - occurrence = dt + timedelta(days=offset) + occurrence = pd.to_datetime(dt + timedelta(days=offset)) try: loc = row_index.get_loc(occurrence) except KeyError: diff --git a/python/requirements.txt b/python/requirements.txt index 662ed59..b9c99af 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -2,7 +2,7 @@ Cython>=0.22 cmdstanpy==0.9.5 pystan>=2.14 numpy>=1.10.0 -pandas>=0.23.4,<1.1.0 +pandas>=0.23.4 matplotlib>=2.0.0 LunarCalendar>=0.0.9 convertdate>=2.1.2