Sparklines for probability distributions
Project description
This package helps you to print out probability distribution on the commandline.
Getting Started
pip install sparkprob
Then in python:
>>> from sparkprob import sparkprob >>> print sparkprob([0.2, 0.1, 0.4, 0.15, 0.15]) ▁ ▁ ▂ ▁ ▁ >>> print sparkprob([0.05, 0.2, 0.55, 0.1, 0.1]) ▁ ▃ ▁ ▁ >>> print sparkprob([0.05, 0.2, 0.7, 0.0, 0.0]) ▁ ▅ >>> print sparkprob([0.05, 0.0, 0.95, 0.0, 0.0]) ▇
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sparkprob-0.1.tar.gz
(1.7 kB
view hashes)