Merge pull request #72 from abuccts/issue66-patch

fix issue 66
This commit is contained in:
Sean J. Taylor 2017-03-03 15:58:07 -08:00 committed by GitHub
commit a3a35f662f
2 changed files with 2 additions and 2 deletions

View file

@ -211,7 +211,7 @@ class Prophet(object):
# convert to days since epoch # convert to days since epoch
t = np.array( t = np.array(
(dates - pd.datetime(1970, 1, 1)) (dates - pd.datetime(1970, 1, 1))
.apply(lambda x: x.days) .dt.days
.astype(np.float) .astype(np.float)
) )
return np.column_stack([ return np.column_stack([

View file

@ -83,7 +83,7 @@ setup(
install_requires=[ install_requires=[
'matplotlib', 'matplotlib',
'numpy', 'numpy',
'pandas', 'pandas>=0.16',
'pystan>=2.8', 'pystan>=2.8',
], ],
zip_safe=False, zip_safe=False,