[Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

Lluís xscript@gmx....
Sat Jul 10 12:49:29 CDT 2010


Rob Speer writes:

>> Can axis labels be anything besides None or str?
> Possibly. The part of this question I particularly like is accessing
> attributes programmatically, using arr.axis[axisname]. That gives
> .axis much more of a purpose. (Follow-up question: should we merge
> .axis and .axes in the API?)

Aha! That's exactly what I was thinking on while looking into the code. In fact,
I've started to put all kinds of comments on the wiki (including this one):

     http://projects.scipy.org/numpy/wiki/NdarrayWithNamedAxes#APIdiscussion

Don't know if it's still too early on the discussion to start writing proposals
on the wiki, but in any case, there's an starting skeleton.

Read you,
     Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth


More information about the NumPy-Discussion mailing list