[Numpy-discussion] Using numpy's flatten_dtype with structured
dtypes that have titles  Emma Willemsma
emma.willemsma@morgansolar.... Thu Aug 19 16:07:03 CDT 2010   I
originally posted this question on stackoverflow, and the user
who responded to me suggested that I bring this issue to the
attention of the numpy developers.  I am working with structured
arrays to store experimental data. I'm using titles to store
information about my fields, in this case the units of measure.
When I call numpy.lib.io.flatten_dtype() on my dtype, I get:
ValueError: too many values to unpack File
"c:\Python25\Lib\site-packages\numpy\lib\_iotools.py", line 78,
in flatten_dtype    (typ, _) = ndtype.fields[field]  I wouldn't
really care, except that numpy.genfromtxt() calls
numpy.lib.io.flatten_dtype(), and I need to be able to import my
data from text files.  I'm wondering if I've done something
wrong. Is flatten_dtype() not meant to support titles? Is there
a work-around for genfromtxt()?  Here's a snippet of my code:
import nu