[Numpy-discussion] Record arrays

Perry Greenfield perry at stsci.edu
Sun Jun 29 19:51:16 EDT 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 at 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 at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion




More information about the NumPy-Discussion mailing list