You could take a look/use the very handy csv2rec function in
matplotlib.mlab, which creates numpy struct arrays.
Marco
On Mar 13, 10:19 pm, per wrote:
> hi all,
>
> what's the most efficient / preferred python way ofparsingtab
> separated data intoarrays? for example if i have a file containing
On 13 Mar, 23:19, per wrote:
> hi all,
>
> what's the most efficient / preferred python way of parsing tab
> separated data into arrays? for example if i have a file containing
> two columns one corresponding to names the other numbers:
>
> col1 \t col 2
> joe \t 12.3
> jane \t 155.0
hi all,
what's the most efficient / preferred python way of parsing tab
separated data into arrays? for example if i have a file containing
two columns one corresponding to names the other numbers:
col1\t col 2
joe\t 12.3
jane \t 155.0
i'd like to parse into an array() such that i