[Numpy-discussion] Thoughts for 1.1
Wed Apr 2 18:17:59 CDT 2008
On undefined, Timothy Hochberg <firstname.lastname@example.org> wrote:
> As to what to name it, if it did come to pass. I'm not happy 'keepshape'
> since we'd not actually be keeping the shape, just the number of dimensions.
> 'keepdims' is better, but still seem awkard. I'd prefer something like
> 'reduce', so the signature would be a:
> mean(axis=None, dtype=None, out=None, reduce=True).
I imagine we would end up adding this capability to the .reduce()
method of all binary ufuncs, so 'reduce' seems ... odd. 'keeprank'?
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion