[Numpy-discussion] umath.maximum.reduce

Charles R Harris charlesr.harris at gmail.com
Tue May 15 17:34:15 EDT 2007


On 5/8/07, Pierre GM <pgmdevlist at gmail.com> wrote:
>
> All,
> On a 2D array, numpy.core.umath.maximum.reduce returns a 1D array (the
> default axis is 0).  An axis=None is not recognized as a valid argument
> for
> numpy.core.umath.maximum, unfortunately... Is this the wanted behavior ?
> Thanks a lot in advance


I see no one answered ;) I think it is traditional behaviour from Numeric,
so can't be changed without a bit of thought. Why not file a ticket for the
1.1 release and see how folks respond? Is there any reason why you can't use
the x.max() method?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070515/9384794a/attachment.html>


More information about the NumPy-Discussion mailing list