[NumPy-Tickets] [NumPy] #1591: flatten_dtype does not handle titles
NumPy Trac
numpy-tickets@scipy....
Thu Oct 14 08:13:52 CDT 2010
#1591: flatten_dtype does not handle titles
-------------------------------------+--------------------------------------
Reporter: nasturtium86 | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: numpy.lib | Version: 1.3.0
Keywords: flatten_dtype titles io |
-------------------------------------+--------------------------------------
Comment(by rgommers):
{{{
>>> import numpy
>>> dtype2 =
numpy.dtype([(("Amps","Current"),"f8"),(("Volts","Voltage"),"f8"),(("Watts","Power"),"f8")])
>>> import numpy.lib.npyio
>>> print(numpy.lib.npyio.flatten_dtype(dtype2))
[dtype('float64'), dtype('float64'), dtype('float64')]
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1591#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list