[Numpy-discussion] How to download data directly from SQL into NumPy as a record array or structured array.
Hi, Everyone: This is what I need to do everyday. Now I have to first save data as .csv file and the use csv2rec() to read the data as a record array. Anybody can give me some advice on how to directly get the data as record arrays? It will save me tons of time. Thanks in advance. Wei Su ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] How to download data directly from SQL into NumPy as a record array or structured array.
On May 5, 2009, at 2:42 PM, Wei Su wrote: Hi, Everyone: This is what I need to do everyday. Now I have to first save data as .csv file and the use csv2rec() to read the data as a record array. Anybody can give me some advice on how to directly get the data as record arrays? It will save me tons of time. Wei, Have a look to numpi.lib.io.genfromtxt, that should give you some ideas. ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion