diff --git a/python/prophet/forecaster.py b/python/prophet/forecaster.py index c969f13..5de5cd3 100644 --- a/python/prophet/forecaster.py +++ b/python/prophet/forecaster.py @@ -367,8 +367,8 @@ class Prophet(object): else: standardize = True if standardize: - mu = df[name].mean() - std = df[name].std() + mu = float(df[name].mean()) + std = float(df[name].std()) self.extra_regressors[name]['mu'] = mu self.extra_regressors[name]['std'] = std