[Numpy-discussion] attribute names on record arrays

John Hunter jdh2358@gmail....
Wed Jun 13 12:53:38 CDT 2007


I fund myself using record arrays more and more, and feature missing
is the ability to do tab completion on attribute names in ipython,
presumably because you are using a dict under the hood and __getattr__
to resolve

o.key

where o is a record array and key is a field name.

How hard would it be to populate __dict__ with the attribute names so
we could tab complete on them?

Thanks,
JDH


More information about the Numpy-discussion mailing list