Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Descriptive Statistcs for Python - simple library that implements mean, variance, std deviation, percentile over lists of numbers

Project description

Port of to python. I’ve encapsulated it in an Enum class as I wasn’t intending to modify the original list. My main use will be at package.

$ python setup install

Basic usage:

from py_descriptive_statistics import Enum enum = Enum([2,6,9,3,5,1,8,3,6,9,2])

print enum.number() print enum.sum() print enum.mean() print enum.median() print enum.variance() print enum.standard_deviation() print enum.percentile(70) print enum.percentile(95) print enum.percentile(99)

To run tests
$ cd tests $ python

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py_descriptive_statistics, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size py_descriptive_statistics-0.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page