jamalsenouci / causalimpact

Python port of CausalImpact R library
Apache License 2.0
272 stars 63 forks source link

AttributeError: 'CausalImpact' object has no attribute 'inferences' #24

Closed AInhoa84 closed 2 years ago

AInhoa84 commented 2 years ago

Hello,

I am trying to use this package, following the steps in your notebook: https://github.com/jamalsenouci/causalimpact/blob/master/GettingStarted.ipynb

I have successfully installed the package in Power Shell: 1git_installation

And this is how my notebook looks like: 2

However, when I try to run the package, these are the errors I get: 3 4

Can you please help me figure out what I am doing wrong please?

Thank you in advance and Happy New Year!

AInhoa

AInhoa84 commented 2 years ago

I forgot to attach the csv file that I am using, here it goes: example_Github.csv

AInhoa84 commented 2 years ago

Update: I have also tried with list comprehension with datetimes as shown in the part 5 of your notebook: Capture

But still get the same errors

jamalsenouci commented 2 years ago

AInhoa84 this should be fixed now