[Numpy-discussion] PEP: named axis
Andrew Jaffe
a.h.jaffe at gmail.com
Wed Feb 11 17:37:42 EST 2009
Pauli Virtanen wrote:
> Wed, 11 Feb 2009 22:21:30 +0000, Andrew Jaffe wrote:
> [clip]
>> Maybe I misunderstand the proposal, but, actually, I think this is
>> completely the wrong semantics for "axis=" anyway. "axis=" in numpy
>> refers to what is also a dimension, not a column.
>
> I think the proposal was to add the ability to refer to dimensions with
> names instead of numbers. This is separate from referring to entries in a
> dimension. (Addressing 'columns' by name is already provided by
> structured arrays.)
>
My bad -- I completely misread the proposal!
Nevermind...
Andrew
More information about the NumPy-Discussion
mailing list