Thank you Olivier and Abie, I'll try that~~

Best wishes,

Chao

2011/6/21 A. Flaxman <[email protected]>

>  I am a huge fan of rec2csv and csv2rec, which might not technically be
> part of numpy, and can be found in pylab or the matplotlib.mlab module.***
> *
>
> ** **
>
> --Abie****
>
> ** **
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Olivier Delalleau
> *Sent:* Wednesday, June 15, 2011 9:26 AM
> *To:* Discussion of Numerical Python
> *Subject:* Re: [Numpy-discussion] what python module to handle csv?****
>
> ** **
>
> Using savetxt with delimiter=',' should do the trick.
>
> If you want a more advanced csv interface to e.g. save more than a numpy
> array into a single csv, you can probably look into the python csv module.
>
> -=- Olivier****
>
> 2011/6/15 Chao YUE <[email protected]>****
>
> Dear all pythoners,
>
> what do you use python module to handle csv file (for reading we can use
> numpy.genfromtxt)? is there anyone we can do with csv file very convinient
> as that in R?
> can numpy.genfromtxt be used as writing? (I didn't try this yet because on
> our server we have only numpy 1.0.1...). This really make me struggling
> since csv is a very
> important interface file (I think so...).
>
> Thanks a lot,
>
> Sincerely,
>
> Chao
>
> -- ****
>
>
> ***********************************************************************************
> ****
>
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex****
>
> Tel: (33) 01 69 08 77 30; Fax:01.69.08.77.16****
>
>
> ************************************************************************************
> ****
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion****
>
> ** **
>
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>


-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 77 30; Fax:01.69.08.77.16
************************************************************************************
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to