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

Chun-Wei Yuan chunwei.yuan at gmail.com
Fri Jul 21 17:11:22 EDT 2017

There's an ongoing effort to introduce quantile() into numpy.  You'd use it
just like percentile(), but would input your q value in probability space
(0.5 for 50%):


Since there's a great deal of overlap between these two functions, we'd
like to solicit opinions on how to move forward on this.

The current thinking is to tolerate the redundancy and keep both, using one
as the engine for the other.  I'm partial to having quantile because 1.) I
prefer probability space, and 2.) I have a PR waiting on quantile().


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170721/2a18bd03/attachment-0001.html>

More information about the NumPy-Discussion mailing list