Skip to main content

Datasense: An Explainable EDA library for automated exploratory data analysis, outlier detection, feature importance, and visualization.

Project description

datasense 📊

Python Tests

[Documentation]

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 import analyze

df = pd.read_csv("your_data.csv")

# Run a full EDA
analyze(df, target_col="price")

Usage Examples

How to use

[Documentation]

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

  1. Fork the project.
  2. Create a feature branch: git checkout -b feature-name
  3. Commit changes: git commit -m 'Add feature'
  4. Push to the branch: git push origin feature-name
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasense_eda-0.1.1.tar.gz (6.2 MB view details)

Uploaded Source

Built Distribution

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

datasense_eda-0.1.1-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file datasense_eda-0.1.1.tar.gz.

File metadata

  • Download URL: datasense_eda-0.1.1.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

Hashes for datasense_eda-0.1.1.tar.gz
Algorithm Hash digest
SHA256 40f66b70eac2dc4993e3f0426e69c8509dc71f6718777307728f90dc63a90d97
MD5 eef9a3039ce21b39c0c677839d6f83d4
BLAKE2b-256 ae3b8b60d932d1407191fca7b3d5b25defdec5b712b253564909f0aacd9192fa

See more details on using hashes here.

File details

Details for the file datasense_eda-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: datasense_eda-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.1

File hashes

Hashes for datasense_eda-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7264e11e2086de1cc48265d31ab114039a3b745eb297a65e74004b35a879d59
MD5 fe78541797a39bf6a99f717a8d816d48
BLAKE2b-256 174c4e848bce06252a791525c6ab9e405f9e2223233c2200e5f09360554944c4

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