I have a 2-D matrix and I want to export it somehow with my python script into a CSV, is there a fast and elegant way for that?
Thanks
I have a 2-D matrix and I want to export it somehow with my python script into a CSV, is there a fast and elegant way for that?
Thanks
If your 2D matrix is a numpy array you can use numpy.savetxt with a delimiter set as ','.