[Numpy-discussion] PEP: named axis

Pauli Virtanen pav@iki...
Wed Feb 11 16:26:27 CST 2009


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.)

-- 
Pauli Virtanen



More information about the Numpy-discussion mailing list