Skip to main content

A helper package for Exploratory Data Analysis (EDA)

Project description

My EDA Helper - Boost Your Exploratory Data Analysis Process! 🚀

PyPI Version

Python Version

License

Contributions Welcome

EDA Helper is a Python package designed to streamline your Exploratory Data Analysis (EDA) process. It provides a collection of helper functions to quickly analyze, visualize, and summarize datasets. Whether you're working with numeric, categorical, or datetime data, this package has you covered!


Credits 🙏

This package is inspired by the brilliant work of @MisbahullahSheriff. The original EDA helper functions were created by him, and I have extended and organized them for easier use. Additional functions and improvements have been added by me (@shemanto27).


Installation 📦

You can install the package via pip:

pip install my_eda_helper

For Google Colab users, install it directly in your notebook:

!pip install my_eda_helper

Usage 🛠️

1. Import the Package

import my_eda_helper as eda

2. High-Level Analysis

Missing Data

Find Missing Values:

missing_data = eda.missing_info(df)
print(missing_data)

Plot Missing Data:

eda.plot_missing_info(df)

Correlation Analysis

Numeric Features (Pearson/Spearman):

eda.correlation_heatmap(df)

Categorical Features (Cramer's V):

eda.cramersV_heatmap(df)

Pair Plots

eda.pair_plots(df)

3. Detailed Analysis

Numeric Features

Summary:

eda.num_summary(df, "Age")

Univariate Plots:

eda.num_univar_plots(df, "Fare")

Bivariate Plots:

eda.num_bivar_plots(df, "Age", "Fare")

Categorical Features

Summary:

eda.cat_summary(df, "Sex")

Univariate Plots:

eda.cat_univar_plots(df, "Embarked")

Bivariate Plots:

eda.num_cat_bivar_plots(df, "Fare", "Sex")

Hypothesis Testing

Numeric vs Numeric:

eda.num_num_hyp_testing(df, "Age", "Fare")

Numeric vs Categorical:

eda.num_cat_hyp_testing(df, "Fare", "Sex")

Categorical vs Categorical:

eda.hyp_cat_cat(df, "Sex", "Survived")

Contributing 🤝

Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, please feel free to:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/YourFeatureName
    
  3. Commit your changes:
    git commit -m 'Add some feature'
    
  4. Push to the branch:
    git push origin feature/YourFeatureName
    
  5. Open a pull request.

Please ensure your code follows the project's style and includes appropriate tests.


License 📄

This project is licensed under the MIT License. See the LICENSE file for details.


Support 💬

If you have any questions, suggestions, or issues, please open an issue on the GitHub repository.

Happy EDA! 🎉

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

my_eda_helper-0.1.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

my_eda_helper-0.1.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for my_eda_helper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 52232b11ce37f562bd0c7991829d26eed752cc7e30b02ea735fe0f2139aa9448
MD5 d4343c8b0c0f3dcf4bd3d4dd9b764fb1
BLAKE2b-256 d68d2334fb99df7f5f71a4bf85b85614799b95326653597328f451071c5d1cdd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for my_eda_helper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbbefd057b4d5414f6d8e81846e010e6f7bb347604ef4591980615ee51765982
MD5 e484f67fbfe0df393619ce4c3c2143d8
BLAKE2b-256 1b10da8d89d0bd42fd88e1e38397862e9ed0df3c634df5f9b5ae0e1f97936fda

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