On Mon, 9 Oct 2023 at 16:36, Jerome Kieffer <jerome.kief...@esrf.fr> wrote:
> On Fri, 06 Oct 2023 19:17:22 -0000 > norbertpiotraduc...@gmail.com wrote: > > > Hi, > > I have an idea to change the numpy.percentile. Think numpy.percentile > and numpy.nanpercentyl are the same features, and the only difference is > that numpy.nanpercentyl doesn't include NaN values. Wouldn't it be easier > if numpy.percentile included an argument specifying whether NaN values > should be considered? It would certainly be easier for people who are > starting their adventure with the library. I'd be ambivalent on making this change. THere are a whole host of other `np.nan*` functions, would they all need to be modified as well? e.g. nanprod, nansum, nanargmin, ......
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com