[Numpy-discussion] using reducing functions without eliminating dimensions?
Robert Kern
robert.kern at gmail.com
Thu Apr 9 02:31:33 EDT 2009
On Thu, Apr 9, 2009 at 01:29, Anne Archibald <peridot.faceted at gmail.com> wrote:
> What's wrong with np.amin(a,axis=-1)[...,np.newaxis]?
It's cumbersome, particularly when you have axis=arbitrary_axis.
--
Robert Kern
"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
mailing list