Skip to main content

DataPilot - A powerful, automated Exploratory Data Analysis (EDA) library in Python

Project description

๐Ÿš€ DataPilot: Automated Exploratory Data Analysis Library

datapilot is a modern, modular Python library for automated Exploratory Data Analysis (EDA). It generates comprehensive dataset overviews, missingness analysis, statistical summaries, outlier/duplicate detection, correlation matrices, automated data quality auditing, actionable suggestions, ML task detection, feature importance analysis, interactive charts, and standalone HTML reports.


๐Ÿš€ Key Features

  • Phase 1: Basic Summaries & Statistics
    • Dataset overview (rows, columns, memory, data types breakdown)
    • Missing value analysis (counts, percentages, visual progress bars)
    • Comprehensive numerical statistics (mean, median, mode, std, skewness, kurtosis, quantiles, zeros)
    • Categorical statistics (unique values, most frequent value, top 10 categories breakdown)
    • Duplicate detection (rows, %, constant columns, duplicate column pairs)
    • Correlation matrices (Pearson, Spearman, Kendall)
    • Outlier detection (IQR & Z-score bounds, counts, indices)
  • Phase 2: Automatic Data Quality Audit
    • Instant alerts for high correlation, zero variance, high cardinality, missing values, class imbalance, and severe skewness.
  • Phase 3: Actionable Suggestions
    • Automated recommendations for imputation strategies, log/power transformations, feature drops, and outlier clipping.
  • Phase 4: Machine Learning Insights
    • Automatic task detection (Regression, Binary/Multiclass Classification, Time Series, Clustering)
    • Feature Importance calculation via Random Forests & Mutual Information
    • PCA variance ratio analysis
  • Phase 5: Interactive HTML Report Generation
    • Standalone, self-contained HTML reports powered by Jinja2 & Plotly.

๐Ÿ“ฆ Installation

pip install -e .

๐Ÿ’ป Quick Start

Simple Functional API

import pandas as pd
import datapilot

# Load dataset
df = pd.read_csv("dataset.csv")

# Run full automated analysis & show report in browser
report = datapilot.analyze(df, target="target_column")
report.show("datapilot_report.html")

Object-Oriented API

from datapilot import EDA

eda = EDA(df, target="target_column")

# Step-by-step analytical calls
summary = eda.summary()
missing = eda.missing()
outliers = eda.outliers()
correlation = eda.correlation()
problems = eda.problems()
recs = eda.recommendations()

# Generate & save report
report = eda.report()
report.to_html("DataPilot_Report.html")

๐Ÿ› ๏ธ Project Structure

datapilot/
โ”‚
โ”œโ”€โ”€ datapilot/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ analyzer.py
โ”‚   โ”œโ”€โ”€ summary.py
โ”‚   โ”œโ”€โ”€ missing.py
โ”‚   โ”œโ”€โ”€ numeric.py
โ”‚   โ”œโ”€โ”€ categorical.py
โ”‚   โ”œโ”€โ”€ correlation.py
โ”‚   โ”œโ”€โ”€ outliers.py
โ”‚   โ”œโ”€โ”€ duplicates.py
โ”‚   โ”œโ”€โ”€ problem_detector.py
โ”‚   โ”œโ”€โ”€ recommender.py
โ”‚   โ”œโ”€โ”€ ml_insights.py
โ”‚   โ”œโ”€โ”€ visualization.py
โ”‚   โ”œโ”€โ”€ report.py
โ”‚   โ”œโ”€โ”€ utils.py
โ”‚   โ”œโ”€โ”€ config.py
โ”‚   โ””โ”€โ”€ templates/
โ”‚       โ””โ”€โ”€ report.html.j2
โ”‚
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ test_analyzer.py
โ”‚   โ”œโ”€โ”€ test_summary.py
โ”‚   โ”œโ”€โ”€ test_outliers.py
โ”‚   โ”œโ”€โ”€ test_report.py
โ”‚   โ””โ”€โ”€ test_recommendations.py
โ”‚
โ”œโ”€โ”€ examples/
โ”‚   โ””โ”€โ”€ demo.py
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ setup.py
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

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

eda_datapilot-0.2.0.tar.gz (369.7 kB view details)

Uploaded Source

Built Distribution

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

eda_datapilot-0.2.0-py2.py3-none-any.whl (32.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file eda_datapilot-0.2.0.tar.gz.

File metadata

  • Download URL: eda_datapilot-0.2.0.tar.gz
  • Upload date:
  • Size: 369.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for eda_datapilot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4b090eadcd815b4540282035e8cd7b7c0dd23b210d811796e0b7b6dc1eb6379b
MD5 0d8f5ca1e64183fb346fd97650fc9d4b
BLAKE2b-256 30385e95244604ec53c4129416c50651d25c0f8c693fc0bd7b18291a6a85d32d

See more details on using hashes here.

File details

Details for the file eda_datapilot-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: eda_datapilot-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for eda_datapilot-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 48298e6c9454e40d041c4b70e0e53e4192f96e8e562ba591227740fd8d173310
MD5 f20a13ff58df2a7fdd3a82e39f85d53c
BLAKE2b-256 954a382d8891125eca41bd78606f4f028ef9efd54d491c7323f2c9c19f4c7cb6

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