[Numpy-discussion] dtype names and titles

Christopher Hanley chanley at stsci.edu
Mon Feb 13 10:57:03 CST 2006

N. Volbers wrote:
> By the way, is there an easy way to access a field vector by its index? 
> Right now I retrieve the field name from dtype.fields[-1][index] and 
> then return the 'column' by using myarray[name].


Perhaps we could add a field method to recarray like numarray's? This 
would allow access by both field name and "column" index.  This would be 
nice for people who are using this convention and are making the switch 
from numarray.


More information about the Numpy-discussion mailing list