Just a general thing, if someone has a few minutes, I think it would make sense to add the ufunc.reduce thing to all of these functions at least in the "See Also" or "Notes" section in the documentation.
These special attributes are not that well known, and I think that might be a nice way to make it easier to find. - Sebastian On Di, 2015-04-14 at 22:18 -0400, Nathaniel Smith wrote: > I am, yes. > > On Apr 14, 2015 9:17 PM, "Neil Girdhar" <[email protected]> wrote: > Ok, I didn't know that. Are you at pycon by any chance? > > On Tue, Apr 14, 2015 at 7:16 PM, Nathaniel Smith > <[email protected]> wrote: > On Tue, Apr 14, 2015 at 3:48 PM, Neil Girdhar > <[email protected]> wrote: > > Yes, I totally agree with you regarding np.sum and > np.product, which is why > > I didn't suggest np.add.reduce, np.multiply.reduce. > I wasn't sure whether > > cumsum and cumprod might be on the line in your > judgment. > > Ah, I see. I think we should treat them the same for > now -- all the > comments I made apply to a lesser or greater extent > (in particular, > cumsum and cumprod both do the thing where they > dispatch to .cumsum() > .cumprod() method). > > -n > > -- > Nathaniel J. Smith -- http://vorpus.org > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > > > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion
signature.asc
Description: This is a digitally signed message part
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
