mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-09-16 22:20:23 +00:00
Test type casting of extra regressors
This commit is contained in:
parent
13d96cff8f
commit
b76ace9570
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ class TestProphet(TestCase):
|
|||
)
|
||||
m.add_regressor('binary_feature2', standardize=True)
|
||||
df = DATA.copy()
|
||||
df['binary_feature'] = [0] * 255 + [1] * 255
|
||||
df['binary_feature'] = ['0'] * 255 + ['1'] * 255
|
||||
df['numeric_feature'] = range(510)
|
||||
df['numeric_feature2'] = range(510)
|
||||
with self.assertRaises(ValueError):
|
||||
|
|
|
|||
Loading…
Reference in a new issue