I am trying to do something that is probable very simple. I would like to save three arrays to a file as columns using \'np.savetxt\' When I try this
x = [1,2,3
Use numpy.transpose():
numpy.transpose()
np.savetxt('myfile.txt', np.transpose([x,y,z]))
I find this more intuitive than using np.c_[].
np.c_[]