mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +00:00
Fix unit test broken in new pandas
This commit is contained in:
parent
feb7be397b
commit
4ee5a971e4
1 changed files with 0 additions and 1 deletions
|
|
@ -62,7 +62,6 @@ class TestProphet(TestCase):
|
||||||
|
|
||||||
def test_fit_changepoint_not_in_history(self):
|
def test_fit_changepoint_not_in_history(self):
|
||||||
train = DATA[(DATA['ds'] < '2013-01-01') | (DATA['ds'] > '2014-01-01')]
|
train = DATA[(DATA['ds'] < '2013-01-01') | (DATA['ds'] > '2014-01-01')]
|
||||||
train[(train['ds'] > '2014-01-01')] += 20
|
|
||||||
future = pd.DataFrame({'ds': DATA['ds']})
|
future = pd.DataFrame({'ds': DATA['ds']})
|
||||||
forecaster = Prophet(changepoints=['2013-06-06'])
|
forecaster = Prophet(changepoints=['2013-06-06'])
|
||||||
forecaster.fit(train)
|
forecaster.fit(train)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue