Skip to main content

A package for doing great things!

Project description

snapedautility

ci-cd

snapedautility is an open-source library that generate useful function to kickstart EDA (Exploratory Data Analysis) with just a few lines of code. The system is built around quickly analyzing the whole dataset and providing a detailed report with visualization. Its goal is to help quick analysis of feature characteristics, detecting outliers from the observations and other such data characterization tasks.

Features

  1. plot_histograms: Plots the distribution for numerical, categorical and text features
  2. detect_outliers: Generate a violin plot that indicates the outliers that deviate from other observations on data.
  3. plot_corr: Generates Correlation Plots for numerical (Pearson's correlation), categorical (uncertainty coefficient) and categorical-numerical (correlation ratio) datatypes seamlessly for all data types.

Installation

$ pip install snapedautility

Usage

plot_histograms

>>> from snapedautility.plot_histograms import plot_histograms
>>> df = penguins_data
>>> plot_histograms(df, ["Culmen Length (mm)", "Culmen Depth (mm)", 'Species'], 100, 100)

plot_corr

>>> from snapedautility.plot_corr import plot_corr
>>> df = penguins_data
>>> plot_corr(df, ["Culmen Length (mm)", "Culmen Depth (mm)", 'Species'])

detect_outliers

>>> from snapedautility.detect_outliers import detect_outliers 
>>> s = pd.Series([1,1,2,3,4,5,6,9,10,13,40])
>>> detect_outliers(s)

Contributors

Core contributor Github.com username
Kyle Ahn @AraiYuno
Harry Chan @harryyikhchan
Dongxiao Li @dol23asuka

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

Similar Work

We recognize EDA (exploratory data analysis) and preprocessing packages are common in the Python open source ecosystem. Our package aims to do a few things very well, and be light weight. A non exhaustive list of EDA helper packages in Python include:

  • pandasprofiling
    • This was the original inspiration for this project. We would like to expand the functionalities on this project.
  • sweetviz
    • This package produces very clean visuals detailing breakdowns in descriptive statistics and can do so with train/test sets for model building workflows.
  • ExploriPy
    • This packages does the most common EDA tasks but also adds in the ability to do statistical testing using analysis of variance (ANOVA), Chi Square test of independence etc.

License

snapedautility was created by Kyle Ahn, Harry Chan and Dongxiao Li. It is licensed under the terms of the MIT license.

Credits

snapedautility was created with cookiecutter and the py-pkgs-cookiecutter template.

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

snapedautility-0.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

snapedautility-0.1.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file snapedautility-0.1.2.tar.gz.

File metadata

  • Download URL: snapedautility-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for snapedautility-0.1.2.tar.gz
Algorithm Hash digest
SHA256 583a751155ae01e0c813263daa1e55746ea9c2954c2507f61099728c94f443de
MD5 b623ca40c2297300d0ab1ef62aabbc74
BLAKE2b-256 62d86de308192ecb5a8487070f9b80c87189cca384fa2d0e7f6a0d7ef5674847

See more details on using hashes here.

File details

Details for the file snapedautility-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: snapedautility-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for snapedautility-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd025a3102c22e2bb1097c68ec6bd6d8252596bab46fcaf1c274a33548b44356
MD5 efeece963ba76b497c45fd0484528d49
BLAKE2b-256 80497ec65256628f72e9d0c68bdd6cf4c0c48a2b6aeded8f6d6ba531d8ff69b9

See more details on using hashes here.

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