Skip to main content

Comprehensive Exploratory Data Analysis Pipeline

Project description

EDAPipeline: Automated Exploratory Data Analysis Toolkit

EDAPipeline is a comprehensive and automated Python toolkit designed to streamline and simplify the Exploratory Data Analysis (EDA) process. This library helps data scientists, analysts, and engineers efficiently understand data distributions, detect outliers, visualize relationships, and uncover meaningful insights from datasets—all with minimal code.

Key Features

  • Automatic Data Type Detection: Automatically categorizes features into numerical, categorical, and datetime types.
  • Comprehensive Data Overview: Quickly summarize dataset shape, data types, missing values, and memory usage.
  • Missing Value Analysis: Visualizes and reports missing data, highlighting areas needing attention.
  • Advanced Univariate Analysis:
    • Numerical Features: Statistical summaries, normality tests, histograms, KDE plots, box plots, and Q-Q plots.
    • Categorical Features: Counts, percentages, bar plots, and pie charts for clear categorical distribution analysis.
    • Datetime Features: Time-series component analysis, including trends across years, months, weekdays, and hourly distributions.
  • Correlation Analysis: Provides correlation heatmaps and pair plots to uncover relationships between numerical features.
  • Robust Bivariate Analysis: Detailed plots and analyses for numerical-numerical and numerical-categorical feature interactions.
  • Outlier Detection: Implements Z-score and Interquartile Range (IQR) methods to identify outliers effectively.

Installation

Install EDAPipeline via pip:

pip install edapipeline

Usage

Here is a basic example demonstrating how to quickly set up and run a complete EDA analysis:

import pandas as pd
from edapipeline import EDAPipeline

# Load your dataset
df = pd.read_csv('your_dataset.csv')

# Initialize the pipeline
eda = EDAPipeline(df=df, target_col='target_variable')

# Run the complete EDA analysis
eda.run_complete_analysis(outlier_method='iqr')

Selective Analysis

You can also perform selective analyses based on your needs:

# Overview of dataset
eda.data_overview()

# Numerical feature analysis
eda.analyze_numerical_features()

# Categorical feature analysis
eda.analyze_categorical_features()

# Datetime analysis
eda.analyze_datetime_features()

# Correlation analysis
eda.correlation_analysis()

Advanced Customization

The pipeline provides flexibility to configure various thresholds and parameters:

eda.HIGH_CARDINALITY_THRESHOLD = 100
eda.TOP_N_CATEGORIES = 10
eda.detect_outliers(method='zscore', threshold=2.5)

Dependencies

  • NumPy
  • Pandas
  • Matplotlib
  • Seaborn
  • SciPy

Install all dependencies with:

pip install numpy pandas matplotlib seaborn scipy

Contributions

Contributions and suggestions are welcome! Feel free to open issues or submit pull requests on GitHub.

License

EDAPipeline is open-source and available under the MIT License.


Explore your data effortlessly with EDAPipeline—turning data into actionable insights.

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

edapipeline-0.1.4.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

edapipeline-0.1.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for edapipeline-0.1.4.tar.gz
Algorithm Hash digest
SHA256 64e2798fd6c7ff3da01ff5915674a9ed4fc9a873f21fda3b493520a5ce413b22
MD5 94d97bcee1a6aba4d40588543d8dac58
BLAKE2b-256 e27e457e685d57a6f46260b4d39b09cba1751bec633b744c8cf0a0e147417d95

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for edapipeline-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5b0615db7a6e84ea432ead5563ccc4c4adb951e1e0b95fe2a3e2d9040179f1b6
MD5 891ba3f86d3f663856f8b43c2b32bfc8
BLAKE2b-256 2d9566939c1663a1eca4de35860d5627785fbe203bae962f503810316f8522a1

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