How to keep indexes when combining matrices?
In the end I used the same code but added:
pd.DataFrame(Final_score,columns=['NIM','Final Score'])
Now, I can change np array into pd.
I have 2 indexes, one named NIM, and one named Total Score. Both have 100X1 block matrices.
When I run the code below the index gets removed.
 Final_Score = np.hstack((NIM, np.atleast_2d(total_score).T))
Is there a way to combine several matrices into one and keep their indexes?