My question is the same one being asked here but in regards to the Python port of the package, rather than in r.
I am using the below code to run the model and plot out the results & summary, but I'd like to access the predicted values so I can export them. Is this possible in Python?
pre_period = [0, index_dict['2022-08-29']]
post_period = [index_dict['2022-09-05'],len(model_df)-1]
ci = CausalImpact(model_df, pre_period, post_period)
ci.run()
ci.plot()
print(ci.summary())
print(ci.summary(output='report'))