Great morning everyone, its a wonderful day.
I have finished training a model and had it make predictions but I would like to convert that numpy array back into the original dataframe so I can actually read the output/predictions. I believe this is a data converting issue meaning changing array → df and I found a few functions to do that but they require giving all the columns again. Is there an easier way to do this?
df = np.array(df)
I turned my df into a numpyarray like this.
I also forgot to ask about how to convert the categorial values (I used get_dummys function) back to their original
Thank you for the help