[Numpy-discussion] Change in numpy.percentile

2023-10-07 Thread norbertpiotraduckir
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.
___
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


[Numpy-discussion] Re: Change in numpy.percentile

2023-10-09 Thread norbertpiotraduckir
Surely you can do this for all functions of eg.nan*. Why separate them is the 
only thing that distinguishes them.  Setting the parameter seems to be more 
handy and user-friendly.  Well for me it's seems better to do it right away in 
NumPy 2.0
___
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