[Numpy-discussion] Record arrays

Perry Greenfield perry@stsci....
Sun Jun 29 18:51:16 CDT 2008


Hi Chris,

Didn't we remove all dependence on recarray? I could have sworn we  
did that.

Perry

On Jun 26, 2008, at 12:45 PM, Christopher Hanley wrote:

> Travis E. Oliphant wrote:
>> Stéfan van der Walt wrote:
>>> Hi all,
>>>
>>> I am documenting `recarray`, and have a question:
>>>
>>> Is its use still recommended, or has it been superseded by fancy  
>>> data-types?
>>>
>> I rarely recommend it's use (but some people do like attribute  
>> access to
>> the fields).    It is wrong, however, to say that recarray has been
>> superseded by fancy data types because fancy data types have  
>> existed for
>> as long as recarrays.
>>
>> I believe pyfits uses them quite a bit, and so they deserve to be
>> documented.
>>
>> -Travis
>>
>> _______________________________________________
>> Numpy-discussion mailing list
>> Numpy-discussion@scipy.org
>> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
> Travis is correct.  PyFITS uses recarrays quite extensively.  It  
> was the
> large, legacy numarray project I was referring too. ;-)
>
> I had forgotten about the attribute access.  I know a number of people
> who use that feature in conjunction with matplotlib for plotting  
> data in
> tables, especially during interactive use.
>
> Chris
>
>
> -- 
> Christopher Hanley
> Systems Software Engineer
> Space Telescope Science Institute
> 3700 San Martin Drive
> Baltimore MD, 21218
> (410) 338-4338
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion



More information about the Numpy-discussion mailing list