Use the following code to merge y_pred with the x_test dataframe:
x_test = pd.concat([x_test, pd.Dataframe(y_pred)], axis=1)
Use the following code to merge y_pred with the x_test dataframe:
x_test = pd.concat([x_test, pd.Dataframe(y_pred)], axis=1)
Comments
0 comments
Article is closed for comments.