[Numpy-discussion] recarray fun

Chris.Barker Chris.Barker@noaa....
Thu May 1 00:00:26 CDT 2008

Travis E. Oliphant wrote:
> Stéfan van der Walt wrote:
>> 2008/4/30 Christopher Barker <Chris.Barker@noaa.gov>:
>>>  Since it is optional, shouldn't it be keyword argument?
>> Thanks, fixed in r5115.
> This was too hasty.   I had considered this before.
> The problem with this is that the object can be either a type object or 
> a data-type object.  You can use view to both re-cast a numpy array as 
> another subtype or as another data-type.

Is the issue here that this is a slightly different meaning than the 
"dtype" argument everywhere else? Frankly, that doesn't bother me -- it 
is a superset of the functionality, is it not?

Though I guess I don't really understand quite what the difference is 
between a subtype and a data-type. Or a type object vs. a datatype object.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the Numpy-discussion mailing list