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.2.tar.gz (15.0 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.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edapipeline-0.1.2.tar.gz
  • Upload date:
  • Size: 15.0 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.2.tar.gz
Algorithm Hash digest
SHA256 2e3103f7c7691afaa50386c6430abbd5340e1de544c3e1507bbd23176de6b4b3
MD5 94d7ba731bc04b591613ff51148fe343
BLAKE2b-256 21e05fc8e16294a5881b25ae72bc8a844f062c084d77b823fd2ae27ee680ef39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edapipeline-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2cb3c67d082aa1ee155c2f1757f1151222e73339f28a9a2981f0eeb3bcae2e73
MD5 5c3a2e1900c5a2e498196afc715eedcd
BLAKE2b-256 ca5e1e360311d3a830c88a6212ce95a4a7a590228daad89b20adaf088aa48cc0

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