percentiles 0.2.2

Creator: railscoder56

Last updated:

Add to Cart

Description:

percentiles 0.2.2

Find x-th percentile of a sequence without numpy


Because sometimes you need one function only.
Install
pip install percentiles

Use
>>> import percentiles
>>> percentiles.percentile([100, 120, 130, 1000], 75)
347.5
>>> from numpy import percentile
>>> percentile([100, 120, 130, 1000], 75)
347.5

Credits
Original code was posted on http://code.activestate.com/recipes/511478-finding-the-percentile-of-the-values/

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.