Re: [Numpy-discussion] recarray to csv

2010-09-03 Thread John Hunter
On Fri, Sep 3, 2010 at 8:50 AM, Benjamin Root wrote: > Why is this function in matplotlib?  Wouldn't it be more useful in numpy? I tend to add stuff I write to matplotlib. mlab was initially a repository of matlab-like functions that were not available in numpy (load, save, linspace, psd, coher

Re: [Numpy-discussion] recarray to csv

2010-09-03 Thread John Hunter
2010/9/3 Guillaume Chérel : >  Great, Thank you. I also found out about csv2rec. I've been missing > these two a lot. Some other handy rec functions in mlab http://matplotlib.sourceforge.net/examples/misc/rec_groupby_demo.html http://matplotlib.sourceforge.net/examples/misc/rec_join_demo.html JD

Re: [Numpy-discussion] recarray to csv

2010-09-03 Thread Erin Sheldon
Excerpts from Guillaume Chérel's message of Fri Sep 03 09:32:02 -0400 2010: > Hello, > > I'd like to know if there is a convenient routine to write recarrays > into cvs files, with the first line of the file being the name of the > fields. > > Thanks, > Guillaume Yes, you can do this with th

Re: [Numpy-discussion] recarray to csv

2010-09-03 Thread Benjamin Root
On Fri, Sep 3, 2010 at 8:35 AM, Pierre GM wrote: > > On Sep 3, 2010, at 3:32 PM, Guillaume Chérel wrote: > > > Hello, > > > > I'd like to know if there is a convenient routine to write recarrays > > into cvs files, with the first line of the file being the name of the > > fields. > > matplotlib.

Re: [Numpy-discussion] recarray to csv

2010-09-03 Thread Guillaume Chérel
Great, Thank you. I also found out about csv2rec. I've been missing these two a lot. Le 03/09/2010 15:35, Pierre GM a écrit : > On Sep 3, 2010, at 3:32 PM, Guillaume Chérel wrote: > >> Hello, >> >> I'd like to know if there is a convenient routine to write recarrays >> into cvs files, with th

Re: [Numpy-discussion] recarray to csv

2010-09-03 Thread Pierre GM
On Sep 3, 2010, at 3:32 PM, Guillaume Chérel wrote: > Hello, > > I'd like to know if there is a convenient routine to write recarrays > into cvs files, with the first line of the file being the name of the > fields. matplotlib.mlab.rec2csv ___ NumP

[Numpy-discussion] recarray to csv

2010-09-03 Thread Guillaume Chérel
Hello, I'd like to know if there is a convenient routine to write recarrays into cvs files, with the first line of the file being the name of the fields. Thanks, Guillaume ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scip