[Numpy-discussion] Doc on dtypes

Pierre GM pgmdevlist@gmail....
Mon Jul 14 19:41:43 CDT 2008

On Monday 14 July 2008 19:39:39 Robert Kern wrote:
> Right. If you want order, use dtype.descr, or sort on the last item in
> the tuple. We can probably reimplement the dictproxy to guarantee
> order.

Oh, with dtype.names and dtype.fields I can work. The Guide mentions a key 
[-1] in dtype.fields that should store the names in order: that would be 
quite useful but it doesn't work (KeyError).

More information about the Numpy-discussion mailing list