Skip to main content

A packckage for performing fast EDA operations on any pandas data frames.

Project description

Contributors

Shawn Xiao Hu, Eugene You, Gilbert Akuja, Tien Nguyen

fast_eda

Documentation Status codecov ci-cd Project Status: Active – The project has reached a stable, usable state and is being actively developed. Python 3.11+

The fast_eda package simplifies data exploration by providing key functions for quick insights. The describe_function() summarizes numeric columns with statistics like mean and median. The distribution_plots() visualizes both categorical and numeric columns using bar charts or histograms. The counts_function() identifies missing values in each column. The correlation_matrix() generates a correlation matrix between the features in the data frame. FastEDA helps users efficiently explore datasets and identify key patterns with minimal effort.

  • describe_function(): Summarizes numeric columns in a DataFrame by calculating basic statistics such as mean, median, standard deviation, and range. It provides a quick overview of central tendencies and data spread.

  • distribution_plots(): Visualizes the distribution of both categorical and numeric columns by generating bar charts for categorical data and histograms for numeric data. This function helps in understanding the frequency distribution and patterns in the dataset.

  • counts_nulls(): Counts the number of missing values in each column of the DataFrame, providing a clear overview of data completeness. This function is useful for identifying columns that may require cleaning or imputation.

  • correlation_matrix_viz(): Generate a correlation matrix visualization for numeric columns in a DataFrame.

The fast_eda package fits into the broader Python ecosystem as a lightweight tool designed to simplify the initial stages of exploratory data analysis (EDA). While there are other Python packages that offer similar functionality, such as ydata-profiling, fast_eda differentiates itself by focusing on providing quick and efficient summary statistics, visualizations, and missing data counts in a minimalistic and easy-to-use format. FastEDA aims for speed and simplicity, making it ideal for users who need a quick, lightweight solution without overwhelming complexity.

Installation

$ pip install very_fast_eda

Documentation

Our online documentation can be found here

Usage

The fast_eda package simplifies data exploration by providing key functions used to get quick insights such as distribution plots,null value counts, correlation matrix, descriptive statistics such as mean,median and standard deviations.

Once you install fast_eda using pip, you can access the following functions as shown below in the examples.

import fast_eda.fast_eda as eda 
import seaborn as sns 
import pandas as pd 


dist_plots = eda.distribution_plots(iris, 2, 3) # This will show distribution plots of the given dataset 

nulls_values = eda.count_nulls(iris) # This will show a summary of the number of null values in each rows 

correlation_matrix_plot = eda.correlation_matrix_viz(iris) # This will generate the correlation matrix for numeric columns

descriptions = eda.describe_function(iris) # This will generate summary statistics such as mean, medain and standard deviations 

Running Tests

To make sure the fast_eda package is working properly on your system, you can run the testing scripts with pytest. This will require you to have pytest installed on your system.

$ pip install pytest

You will then need to clone the repository on to your machine and navigate to the root directory. Once that is done you can execute the following command to run our testing scripts:

$ pytest

To get a view of the test coverage, you can run the following command:

$ pytest --cov=src/fast_eda

Contributing

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.

License

fast_eda was created by Tien Nguyen, Eugene You, Gilbert Akuja, Shawn Xiao Hu. It is licensed under the terms of the MIT license.

Credits

fast_eda 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

very_fast_eda-2.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

very_fast_eda-2.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file very_fast_eda-2.1.0.tar.gz.

File metadata

  • Download URL: very_fast_eda-2.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for very_fast_eda-2.1.0.tar.gz
Algorithm Hash digest
SHA256 cbbf919ba1c34c51b55cdc71b710e3e5b1bd62022f92f0f7fa8cec584bc455f7
MD5 5e9cc4ec2a10617f1b0dc58bcec7094b
BLAKE2b-256 972fd4a9ef0fe254b3f0f42b6d01edd7d034221413d00bf3bda2dac97b1e1d6d

See more details on using hashes here.

File details

Details for the file very_fast_eda-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: very_fast_eda-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for very_fast_eda-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d4bc9c29b5906054169e63e543ca3ae3d7ae60a337e6fe6450d2cfac87e4f8b
MD5 9ffda6be16357385126d1b5a1f84de93
BLAKE2b-256 a45ca1870d6816796b587d7642a0246d629d63e05c11450345ee31f407f70840

See more details on using hashes here.

Supported by

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