Pierre GM wrote: > Note also that you are not limited to recarrays: you can use what's > called a flexible-type arrays, which still gives the possibility to > access individual fields by keys, without the overload of recarrays > (where fields can also be accessed as attributes). For example: > >>> x=np.array([(1,10.), (2,20.)], dtype=[('A',int),('B',float)]) > >>>x['A'] > array([1, 2])
True, but the problem in this case is that he wants to access by column number, which you can't really do with recarray or flexible dtype arrays. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users