[Numpy-discussion] Nested recarrays with subarrays and loadtxt: a bug in loadtxt?

Fernando Perez fperez.net at gmail.com
Wed May 27 19:41:01 EDT 2009


2009/5/27 Stéfan van der Walt <stefan at sun.ac.za>:
> Hi Fernando
>
> 2009/5/28 Fernando Perez <fperez.net at gmail.com>:
>> Well, since dtypes allow for nesting full arrays in this fashion,
>> where I can say that the 'block' field can have (2,3) shape, it seems
>> like it would be nice to be able to express this nesting into loading
>> of plain text files as well.
>
> I think that would be very useful.  Please verify whether
>
> http://projects.scipy.org/numpy/changeset/7022
>
> does the trick!

beeooteefool!  No warnings now:

uqbar[recarray]> python rec_nested.py
Second pass - data loaded OK.

This is great, many thanks :)

Cheers,

f



More information about the NumPy-Discussion mailing list