[Numpy-discussion] quantile() or percentile()

Chris Barker chris.barker at noaa.gov
Mon Aug 14 13:17:21 EDT 2017


+1 on quantile()

-CHB


On Sun, Aug 13, 2017 at 6:28 AM, Charles R Harris <charlesr.harris at gmail.com
> wrote:

>
>
> On Thu, Aug 10, 2017 at 3:08 PM, Eric Wieser <wieser.eric+numpy at gmail.com>
> wrote:
>
>> Let’s try and keep this on topic - most replies to this message has been
>> about #9211, which is an orthogonal issue.
>>
>> There are two main questions here:
>>
>>    1. Would the community prefer to use np.quantile(x, 0.25) instead of np.percentile(x,
>>    25), if they had the choice
>>    2. Is this desirable enough to justify increasing the API surface?
>>
>> The general consensus on the github issue answers yes to 1, but is
>> neutral on 2. It would be good to get more opinions.
>>
>
> I think a quantile function would be natural and desirable.
>
> <snip>
>
> Chuck
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
>


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170814/0822b4ce/attachment.html>


More information about the NumPy-Discussion mailing list