Hello, I'm trying to find a way to excute the command print below to get the same load the prediction. But it doesn't load it, it just print the print.
predictions_2005, parameters_2005 = get_predictions_each_year(2005,12)
Thank you
n=2005; while(n!=2008) : prog='print("predictions_",n,","," parameters_",n," ","= get_predictions_each_year",(n,12), sep="")'; exec(prog) n=n+1;
Output:predictions_2005, parameters_2005 = get_predictions_each_year(2005, 12)
predictions_2006, parameters_2006 = get_predictions_each_year(2006, 12)
predictions_2007, parameters_2007 = get_predictions_each_year(2007, 12)
# Get Predictions alongside information on SARIMA paramters used for 2005predictions_2005, parameters_2005 = get_predictions_each_year(2005,12)
Output:100% 14/14 [00:06<00:00, 2.10it/s]
Could you help me with this ?Thank you