Skip to main content

A group of tools to do exploratory analysis.

Project description

Milas

Imagen de vecstock en Freepik

Milanesas / EDA helper


This package will help you to do some EDA related tasks. It will help you to reduce the amount of code needed to do a simple chart. Originally intended to work with Jupyter Lab but contains some help for Django.

Features

  • Functions to draw simple graphs.
  • Functions for drawing orizontal and vertical comparative graphs.
  • Functions for transforming percentage values.
  • Functions for counting unique values.

Installation

Install my-project with pipy.

pip install milanesas

Usage/Examples

import pandas as pd

import milanesas.eda_helper as eh #Importing the library.


# Create a test dataframe.
df = pd.DataFrame({'Category': ['A', 'B', 'F', 'C'], 'count': [4, 2, 3, 1]})


# Make a horizontal barchart.
eh.make_custom_horizontal_bar(
    df, 
    "col", 
    "Custom horizontal bar chart.", 
    "Count", 
    "Category", 
    False)

This simple code will show the following chart.

Barchart demo.

License

MIT

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

milanesas-0.1.19.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

milanesas-0.1.19-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

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