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


Download files

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

Source Distribution

histograms-1.0.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page