From 7297d987645bd015cf4b3efac6dc09cadfb9fd64 Mon Sep 17 00:00:00 2001 From: Ben Letham Date: Fri, 3 May 2019 10:44:23 -0700 Subject: [PATCH] Use OrderedDict for seasonalities (#643) --- python/fbprophet/forecaster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fbprophet/forecaster.py b/python/fbprophet/forecaster.py index 8c3afd3..11fdcda 100644 --- a/python/fbprophet/forecaster.py +++ b/python/fbprophet/forecaster.py @@ -129,7 +129,7 @@ class Prophet(object): self.logistic_floor = False self.t_scale = None self.changepoints_t = None - self.seasonalities = {} + self.seasonalities = OrderedDict({}) self.extra_regressors = OrderedDict({}) self.country_holidays = None self.stan_fit = None