Skip to main content

Python package to easily make histograms from multi-indexed dataframes.

Project description

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

Python package to easily make histograms from multi-indexed dataframes.

How do I install this package?

As usual, just download it using pip:

pip install histograms

Tests Coverage

Since some software handling coverages sometime get slightly different results, here’s three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

Usage examples

The library offers two main methods: histogram, for plotting a single histogram, and histograms, for plotting a number of histograms in parallel fashion.

Histograms

from histograms import histograms
df = pd.read_csv("tests/test_case.csv", index_col=0)
histograms(df, ["dataset", "resource", "model"])

This will output the following images (just a few examples reported here):

https://github.com/LucaCappelletti94/histograms/blob/master/examples/test_auroc.jpg?raw=true https://github.com/LucaCappelletti94/histograms/blob/master/examples/test_auprc.jpg?raw=true https://github.com/LucaCappelletti94/histograms/blob/master/examples/required_time.jpg?raw=true

Project details


Release history Release notifications

This version

1.0.0

Download files

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

Files for histograms, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size histograms-1.0.0.tar.gz (6.4 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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page