[Numpy-discussion] Best representation for array of points, or, how to distinguish a Nx1 array of points from a Nx3 array of scalars

Alan G Isaac aisaac@american....
Thu Oct 4 08:41:31 CDT 2007


On Thu, 4 Oct 2007, Edson Tadeu apparently wrote:
> Is there any field in the NumPy object where I can keep 
> this information (the shape of the "element"), without 
> creeping it with the dtype='(M,N)f8'
> representation I explained above? 

Perhaps you want a recarray?

Cheers,
Alan Isaac





More information about the Numpy-discussion mailing list