[SciPy-User] determining if structured/rec array

Skipper Seabold jsseabold@gmail....
Sun Mar 21 15:00:51 CDT 2010


On Sun, Mar 21, 2010 at 1:48 PM, Ryan May <rmay31@gmail.com> wrote:
> On Sun, Mar 21, 2010 at 12:12 PM, Skipper Seabold <jsseabold@gmail.com> wrote:
>> Is there anywhere in scipy that works on structured arrays
>> dynamically?  If not, is this a good way to determine if a structured/
>> rec array was given to a function or is there a better/easier way?
>
> Not commenting on the utility, but numpy as lib/recfunctions.py that
> would seem to be a sensible spot for such a function.  Certainly,
> since it deals just with numpy arrays, it should live in numpy and not
> scipy.
>

Agreed.  Is there general interest in something like this?  It's
really simply obviously, but the function is convenient and more
transparent than what I've been doing.

Skipper


More information about the SciPy-User mailing list