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

josef.pktd at gmail.com josef.pktd at gmail.com
Sun Aug 13 12:50:10 EDT 2017


On Sun, Aug 13, 2017 at 9: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.
>

I'm in favor of adding it. (moving away from +0)
It should be an obvious code completion choice, np.q?

Josef



>
> <snip>
>
> Chuck
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170813/655eb861/attachment.html>


More information about the NumPy-Discussion mailing list