[SciPy-user] Multicolumn file io

Mani chandra mchandra@iitk.ac...
Sun Feb 15 02:23:55 CST 2009


Hi,
   
    How can I can output my data in 1D arrays to a file as seperate 
columns? For ex, my data is like x = numpy.mgrid[0:10:10j], y = 
numpy.mgrid[0:10:10j], or x = numpy.arange(0, 10, 1), y = 
numpy.arange(0, 10, 1), and I'd like the data outputted to a file like :
#x    y
0      0
1       1
2       2

          and so on...

Thanks

Mani chandra


More information about the SciPy-user mailing list