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

Fernando Perez fperez.net@gmail....
Wed May 27 18:41:01 CDT 2009

2009/5/27 Stéfan van der Walt <stefan@sun.ac.za>:
> Hi Fernando
> 2009/5/28 Fernando Perez <fperez.net@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 :)



More information about the Numpy-discussion mailing list