Mar-14-2020, 04:22 PM
May be running into 2 variables - predictions and predictions[].
Idea - go back and in line 1 put
Idea - go back and in line 1 put
predictions[]Then, in your prediction line use
predictions.append(pd.DataFrame(model.predict(X[train_size:]), columns=[i]))Then you should have an array of dataframes. You can examine each one, and you can combine them into a single frame later.