You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pd.DataFrame with 5 columns. I need to see what happenes with one of it
pre_period=[0, 118] post_period=[119, 138] impact = CausalImpact(df_3_prognoz[['cnt_users']], pre_period, post_period, model_args={'nseasons': 7}) impact.run()
And i have this
`~\AppData\Local\anaconda3\lib\site-packages\causalimpact\analysis.py in _run_with_data(self, data, pre_period, post_period, model_args, alpha, estimation)
412 # Zoom in on data in modeling range
413 if data.shape[1] == 1: # no exogenous values provided
--> 414 raise ValueError("data contains no exogenous variables")
415 data_modeling = data.copy()
416
ValueError: data contains no exogenous variables`
But If I don't write "impact.run()", 'impact' gave me just <causalimpact.analysis.CausalImpact at 0x19d842355a0> without any data
The text was updated successfully, but these errors were encountered:
I have pd.DataFrame with 5 columns. I need to see what happenes with one of it
pre_period=[0, 118] post_period=[119, 138] impact = CausalImpact(df_3_prognoz[['cnt_users']], pre_period, post_period, model_args={'nseasons': 7}) impact.run()
And i have this
`~\AppData\Local\anaconda3\lib\site-packages\causalimpact\analysis.py in _run_with_data(self, data, pre_period, post_period, model_args, alpha, estimation)
412 # Zoom in on data in modeling range
413 if data.shape[1] == 1: # no exogenous values provided
--> 414 raise ValueError("data contains no exogenous variables")
415 data_modeling = data.copy()
416
ValueError: data contains no exogenous variables`
But If I don't write "impact.run()", 'impact' gave me just <causalimpact.analysis.CausalImpact at 0x19d842355a0> without any data
The text was updated successfully, but these errors were encountered: