[Numpy-discussion] formats in record array

Jin-chung Hsu hsu at stsci.edu
Wed Jul 21 11:53:40 CDT 2004


> From: Russell E Owen <rowen at u.washington.edu>
> Subject: Re: [Numpy-discussion] Proposed record array behavior: the rest
> of the story


> Will it be possible, when creating a new records array, to specify 
> types of a record array as a list of normal numarray types? Currently 
> one has to specify the types as a "formats" string, which is 
> nonstandard.

In theory it is easy to do that except you can't specify cell arrays, i.e.
how do you specify the equivalent of:

formats=['3Int16', '(4,5)Float32']

with the numarray type instances?

JC Hsu





More information about the Numpy-discussion mailing list