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

Alan G Isaac aisaac@american....
Mon Dec 22 11:58:09 CST 2008

On 12/22/2008 12:38 PM Dharhas Pothina apparently wrote:
> How do I not print quotations around each header and row field

Well you can alter you formatting info to be:
table_fmt = dict( header_fmt = '%s', stub_fmt = '%s',data_fmt="%4.2f")

But keeping the quotes around strings conforms to most CSV
implementations and is generally safer.


PS I added HTML output, fwiw.

More information about the SciPy-user mailing list