Because sometimes you need one function only.
pip install percentiles
>>> import percentiles
>>> percentiles.percentile([100, 120, 130, 1000], 75)
347.5
>>> from numpy import percentile
>>> percentile([100, 120, 130, 1000], 75)
347.5
Original code was posted on http://code.activestate.com/recipes/511478-finding-the-percentile-of-the-values/