I combined some of the very useful comments/code from Tim and Torgil and
came-up with the attached program to read csv files and convert the data
into a recarray. I couldn¹t use all of their suggestions because, frankly, I
didn¹t understand all of them :)

The program use variable names if provided in the csv-file and can
auto-detect data types. However, I also wanted to make it easy to specify
data types and/or variables names if so desired. Examples are at the bottom
of the file. Comments are very welcome.

Thanks,

Vincent

Attachment: load_combi.py
Description: Binary data

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to