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

Dharhas Pothina Dharhas.Pothina@twdb.state.tx...
Mon Dec 22 11:38:37 CST 2008


That fixed it thanks. How do I not print quotations around each header and row field

ie 

SL,2.53,3.94,2.79

instead of 

"SL",2.53,3.94,2.79

- dharhas

>>> Alan G Isaac <aisaac@american.edu> 12/22/08 11:27 AM >>>
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

_______________________________________________
SciPy-user mailing list
SciPy-user@scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-user



More information about the SciPy-user mailing list