[Numpy-tickets] [NumPy] #326: recarray transpose()

NumPy numpy-tickets at scipy.net
Fri Oct 6 17:12:30 CDT 2006

#326: recarray transpose()
 Reporter:  parejkoj    |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:          
 Severity:  normal      |    Keywords:          
 The following code should display a different array from the original
 (transpose is not working on recarrays containing records).
 type(result[0]) is numpy.core.records.record.

 import numpy.core.records as rec
 rowData = [(0,123.4),(1,234.5),(2,345.6)]
 formats = "i4,i8"
 names = "i,j"
 print result.transpose()

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/326>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list