Skip to main content

AutoXEDA - Automated Exploratory Data Analysis (EDA)

PyPI Version Python Versions License LinkedIn GitHub

🚀 Introduction

AutoXEDA is an advanced Python library designed for automated exploratory data analysis (EDA). It streamlines the data analysis process by providing detailed insights, business intelligence summaries, and AI-powered suggestions. Whether you are a data scientist, analyst, or business professional, AutoXEDA helps you make data-driven decisions with ease.

✨ Features

✅ Automated Statistical Analysis - Get key descriptive statistics with one function call.
✅ Business Insights - Generate structured insights tailored for decision-making.
✅ AI-Powered EDA - Leverages LLM-based models (via API key) for intelligent data summaries.
✅ Customizable Detail Levels - Choose from basic, intermediate, or detailed reports.
✅ Data Cleaning & Missing Values Handling - Detects and suggests fixes for data inconsistencies.
✅ Correlation & Distribution Analysis - Understand relationships between variables.
✅ Seamless Pandas Integration - Works with pandas DataFrames effortlessly.


📌 Installation

AutoXEDA is available on PyPI and can be installed easily using pip:

pip install autoxeda

🔥 Quick Start

Here's a quick example to get started with AutoXEDA:

import pandas as pd
from autoxeda.core import autoeda

# Create a sample dataset
data = {"x": [10, 20, 30, 40, 50], "y": [5, 15, 25, 35, 45]}
df = pd.DataFrame(data)

# Run AutoXEDA
result = autoeda(df, analysis_type="business", api_key=None, detail_level='basic')

# Print the output
print(result)

📊 Example Output

{
    "status": "success",
    "summary": {
        "total_rows": 1000,
        "total_columns": 5,
        "missing_values": 0,
        "correlation_matrix": {...},
        "business_insights": "The data shows a positive trend..."
    }
}

🛠️ Advanced Usage

1️⃣ Using AI-Powered Analysis

If you want to leverage AI-powered insights, provide an API key:

result = autoeda(df, analysis_type="business", api_key="your-api-key", temperature=0.5)

2️⃣ Custom Detail Levels

result = autoeda(df, analysis_type="business", detail_level='detailed')

3️⃣ Handling Large Datasets

If your dataset is large, you can optimize performance by sampling:

result = autoeda(df.sample(500), analysis_type="business", detail_level='basic')

Hyperparameters

AutoXEDA allows customization through hyperparameters:

Parameter Type Default Description
data data Required Input data (DataFrame, CSV, or SQL query)
analysis_type str 'business' Type of analysis ('business' or 'prediction')
api_key str None API key (Your API key from Groq)
max_retries int 2 Number of retries for failed actions
columns int None (all columns) Subset of columns to analyze
detail_level str 'basic' Level of detail ('basic', 'advanced' or 'intermediate')
temperature float 1.0 LLM creativity level (0.0-1.0)

📝 Contributing

We welcome contributions from the community! To contribute:

  1. Fork the repository.
  2. Clone it: git clone https://github.com/Jahanzeb-git/autoxeda.git
  3. Create a new branch: git checkout -b feature-branch
  4. Make your changes and commit: git commit -m "Add new feature"
  5. Push the changes: git push origin feature-branch
  6. Submit a pull request with a clear description of your contribution.

📄 License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.


🌎 Connect with Me


⭐ If you like this project, don't forget to star it on GitHub! ⭐

Metadata

Release files for autoxeda 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoxeda 0.1.3
File Size Uploaded Provenance
autoxeda-0.1.3.tar.gz 28.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autoxeda 0.1.3
File Interpreter ABI Platform
autoxeda-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 54.6 kB

Release files / autoxeda-0.1.3.tar.gz

Download URL autoxeda-0.1.3.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f1be18d80a9db04ef2b224dd98a7380d8477d13dc76d8a5a154b72eac06c2d99
BLAKE2b-256 checksum
How to use checksums
550d1b6b09cbd51995ea23a650f6c0e7f74d04ede0c3ef29e2ee49157334c5a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Release files / autoxeda-0.1.3-py3-none-any.whl

Download URL autoxeda-0.1.3-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
384f0bee56f6307cf8cdaa137a31dce78066e53f370515b6481368776d961983
BLAKE2b-256 checksum
How to use checksums
5fe9b98461b99c869cdf7ff3793f376a374db6c2b73f1d42b790b9987844e4e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Security for autoxeda 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page