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

Alan G Isaac aisaac@american....
Mon Dec 22 11:27:08 CST 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