Skip to main content

A toolkit for insightful exploratory data analysis (EDA) with advanced visualization and statistical tools.

Project description

insightfulpy

insightfulpy is a comprehensive Python package designed to simplify Exploratory Data Analysis (EDA) workflows. It provides powerful utilities for analyzing both numerical and categorical data, detecting outliers, handling missing values, and generating insightful visualizations.


Features

The provided code is an exploratory data analysis (EDA) toolkit that includes various functions for analyzing and visualizing both categorical and numerical data. Below are the key features:

  1. Categorical Data Analysis

    • Computes summary statistics such as unique values, mode, missing percentage, and frequency distribution.
    • Identifies high-cardinality categorical variables.
    • Provides bar charts, pie charts, and heatmaps for categorical relationships.
  2. Numerical Data Analysis

    • Generates statistical summaries including mean, median, standard deviation, skewness, and kurtosis.
    • Performs normality tests (Shapiro-Wilk, Kolmogorov-Smirnov).
    • Detects outliers using the IQR method and identifies interconnected outliers.
    • Supports box plots, KDE plots, and scatter plots for numerical relationships.
  3. Visualization and Batch Processing

    • Visualizes missing values using a missing value matrix and bar chart.
    • Batch-wise KDE plots, box plots, scatter plots, and QQ plots.
    • Numerical vs categorical visualizations using box and violin plots.
  4. Data Integrity and Data Quality Checks

    • Detects missing and infinite values.
    • Identifies mixed data types in columns.
    • Compares column profiles across multiple datasets.
  5. Linked Data Analysis

    • Identifies common key columns across datasets.
    • Analyzes interconnected outliers affecting multiple columns.
    • Compares shared columns across datasets for consistency.

The toolkit provides a structured and efficient approach to EDA, enabling automated data profiling, anomaly detection, and visualization for better data-driven insights.


Installation

pip install insightfulpy

Or, if you're installing directly from the repository:

pip install git+https://github.com/dhaneshbb/insightfulpy.git

Dependencies

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • researchpy
  • tableone
  • missingno
  • scipy
  • tabulate

All dependencies are automatically installed with the package.


Usage

Importing the Package

import pandas as pd
from insightfulpy.eda import *
from insightfulpy.utils import *

Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.


License

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


Author


Acknowledgements

  • Inspired by best practices in EDA and data visualization.
  • Thanks to the open-source community for the amazing tools and libraries!

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

insightfulpy-0.1.4.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

insightfulpy-0.1.4-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file insightfulpy-0.1.4.tar.gz.

File metadata

  • Download URL: insightfulpy-0.1.4.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for insightfulpy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a588d0f58181bcae55dacafd0f62c53f66655232c7556b75acf183f1bd7eb7b7
MD5 d6a11bc2e8ec8c9b6780263aa3dc2df9
BLAKE2b-256 491cb19926c8bf061e59ae315240031b102ef1b8d02aea7ce6af72224cd2b7f6

See more details on using hashes here.

File details

Details for the file insightfulpy-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: insightfulpy-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for insightfulpy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 291667d1af0c91a2de3d71f5f0c097afdac2912c28c1c88d31bca27b42bdc506
MD5 ea3deded2fb4f26594e12f5571c6652f
BLAKE2b-256 2e9c22c225e2757a0736860ebb8480e6a125ab4037f9769f27971cb67b54c320

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