[Numpy-discussion] genfromtxt to structured array

Timmie timmichelsen@gmx-topmail...
Fri Sep 25 16:30:45 CDT 2009


Hello,
this may be a easier question.

I want to load data into an structured array with getting the names from the
column header (names=True).

The data looks like:
    
    ;month;day;hour;value
    1995;1;1;01;0

    
but loading only works only if changed to:
    
    year;month;day;hour;value
    1995;1;1;01;0


How do I read in the original data?

Thanks,
Timmie



More information about the NumPy-Discussion mailing list