2008/7/20 Ryan May <[EMAIL PROTECTED]>:
>>arr
> array([('JOE', 25.300000000000001), ('BOB', 27.899999999999999)],
>      dtype=[('stid', '|S4'), ('temp', '<f8')])

The code in SVN still breaks for more complicated dtypes, such as:

np.dtype([('x', int), ('y', [('t', int), ('s', float)])])

Please find attached a patch which addresses the issue (it passes all
unit tests).

Regards
Stéfan

Attachment: loadtxt.patch
Description: Binary data

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

Reply via email to