[SciPy-user] Save column & row headers to csv filewith something like savetxt?

Alan G Isaac aisaac at american.edu
Mon Dec 22 12:27:08 EST 2008


On 12/22/2008 11:50 AM Dharhas Pothina apparently wrote:
> Only the first 3 of my 5 columns are being output. 

This is fixed in revision 117. (Thanks!)
To get the formatting you appear to want,
add formatting info like this:

	tbl = text.SimpleTable(your_data,your_headers,your_stubs,fmt=dict(data_fmt="%4.2f"))

hth,
Alan




More information about the SciPy-User mailing list