mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-31 23:27:52 +00:00
Fix holidays for pandas 1.1.0
This commit is contained in:
parent
5accde4fb5
commit
75ec9dffb1
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue