Datasense: An Explainable EDA library for automated exploratory data analysis, outlier detection, feature importance, and visualization.
Project description
datasense 📊
A Python library for automated exploratory data analysis (EDA), data cleaning, and visualization. Built for beginners and analysts to quickly understand and preprocess datasets.
✨ Features
- Dataset Summary: Overview of shape, dtypes, missing values, duplicates.
- Missing Value Handling: Detect and impute missing values (mean, median, mode, constant, drop).
- Outlier Detection: Identify outliers using Z-score or IQR methods.
- Feature Importance: Calculate and visualize feature importance for regression/classification.
- Time-Series Analysis: Decomposition, rolling statistics, and trend detection.
- Visualizations: Histograms, boxplots, count plots, correlation matrices, scatter plots, pair plots.
- Automated Recommendations: Get actionable insights for data preprocessing.
🚀 Why Datasense?
- ⚡ One-line automated EDA for quick dataset understanding.
- 🧹 Built-in cleaning and preprocessing to save time.
- 📊 Visual + tabular insights, ready for analysis or ML pipelines.
- 🔧 Beginner-friendly but powerful enough for production workflows.
Installation
git clone https://github.com/Akash-Sare03/datasense.git
cd datasense
pip install -r requirements.txt
Or install from PyPI:
pip install datasense-eda
Quick Start
import pandas as pd
from datasense.analyze_data import analyze
df = pd.read_csv("your_data.csv")
# Run a full EDA
analyze(df, target_col="price")
Usage Examples
How to use
Example Notebooks
See practical examples and full workflows in the included Jupyter notebooks:
API Reference
Main Functions
analyze(): Generate a full EDA report.summarize_dataset(): Dataset overview.handle_missing_values(): Impute or remove missing values.detect_outliers(): Find outliers using Z-score or IQR.feature_importance_calculate(): Compute feature importance.analyze_timeseries(): Decompose and plot time-series data.visualize(): Auto-generate plots for numeric/categorical features.
Contributing
- Fork the project.
- Create a feature branch:
git checkout -b feature-name - Commit changes:
git commit -m 'Add feature' - Push to the branch:
git push origin feature-name - Open a pull request.
License
This project is licensed under the MIT License. See LICENSE for details.
Deployment
This package is available on PyPI. Install it via:
pip install datasense-eda
Or deploy locally:
python setup.py sdist bdist_wheel
twine upload dist/*
Support
If you have any questions or issues, please open an issue here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasense_eda-0.1.2.tar.gz.
File metadata
- Download URL: datasense_eda-0.1.2.tar.gz
- Upload date:
- Size: 6.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372dd42cc83f4da2666a3c8a160231a6e132647bf63f38b983a07cf16c675ec6
|
|
| MD5 |
67e53de18ac6dd9a9a7926e46017edcd
|
|
| BLAKE2b-256 |
066d0a14b106372d3b1e112f0f3c8d8d99f79edf2fddbb118e0c6c6db8c21c2e
|
File details
Details for the file datasense_eda-0.1.2-py3-none-any.whl.
File metadata
- Download URL: datasense_eda-0.1.2-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33382aa4c4f88fc5b4b741c2c02c835bd23f24d680719275e7b3b2e3fc02f59a
|
|
| MD5 |
9541d279a86c13f669153e905c43bf0e
|
|
| BLAKE2b-256 |
1034d08cebd10ba83f56304fe0056499b42e41a3842994055c031559d23abe26
|