[NumPy-Tickets] [NumPy] #1744: savetxt doesn't handle recarrays with substructures.

NumPy Trac numpy-tickets@scipy....
Thu Feb 17 13:28:41 CST 2011


#1744: savetxt doesn't handle recarrays with substructures.
-------------------------+--------------------------------------------------
 Reporter:  rainwoodman  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  2.0.0   
Component:  Other        |     Version:  1.5.1   
 Keywords:               |  
-------------------------+--------------------------------------------------
 test case:

 ar = zeros(dtype=[('pos', ('f4', 3)), ('vel', ('f4', 3))], shape=10)

 savetxt("ar", ar)


 TypeError: float argument required, not numpy.ndarray.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1744>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list