[Numpy-discussion] Record arrays

Gael Varoquaux gael.varoquaux@normalesup....
Thu Jun 26 21:46:18 CDT 2008


On Thu, Jun 26, 2008 at 09:36:38PM -0500, Robert Kern wrote:
> On Thu, Jun 26, 2008 at 21:24, Gael Varoquaux
> <gael.varoquaux@normalesup.org> wrote:
> > I understand all your comments and thank you for making this distinction
> > explicit. I can see why recarray can slow code down, but I find attribute
> > lookup make code much more readable, and interactive work fantastic (tab
> > completion).

> I'm confused. recarray fields do not show up in any standard
> tab-completion schemes.

Damn you are right. So I what just making noise I guess. But my point
about code readability remains, and it is shorter to type.

> Actually, I wrote that particular snippet in the IPython codebase, but
> the idea comes from a Cookbook entry:

:)

Gaël


More information about the Numpy-discussion mailing list