[Numpy-discussion] How to download data directly from SQL into NumPy as a record array or structured array.

Pierre GM pgmdevlist@gmail....
Tue May 5 14:15:23 CDT 2009


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.


More information about the Numpy-discussion mailing list