A production-ready Python library for one-line data cleaning, EDA, and beautiful HTML reporting.
Project description
SagarAnalysis
A production-ready, beginner-friendly Python package designed for one-line data cleaning, one-line Exploratory Data Analysis (EDA), and stunning, glassmorphic HTML reporting.
Features
- One-line Cleaning (
clean(df)):- Automatically standardizes column names to
snake_case. - Removes duplicate rows.
- Detects and drops constant/highly missing columns.
- Imputes missing values intelligently (median/mean/mode/unknown).
- Handles numerical outliers via clipping.
- Coerces data types (string to numeric, string to datetime, Yes/No to boolean).
- Automatically standardizes column names to
- One-line EDA & Report (
analysis(df)):- Generates a comprehensive overview of the dataset.
- Performs descriptive statistics and missingness analysis.
- Discovers high correlations and skewness.
- Auto-detects the target column and runs target profiling.
- Stunning HTML Reports (
report.save()):- Interactive, modern Glassmorphism design.
- Supports light/dark theme toggles.
- Fully responsive layout with embedded Base64 charts.
- Searchable variables, collapsible details, and clear data insights.
Installation
pip install sagaranalysis
Quick Start
import pandas as pd
import sagaranalysis as sa
# Load your dirty dataset
df = pd.read_csv("dirty_data.csv")
# Clean your data in one line
cleaned_df = sa.clean(df)
# Perform automatic EDA and generate insights
report = sa.analysis(cleaned_df)
# View or save the report
report.show() # Opens in local browser or renders in Jupyter Notebook
report.save("report.html") # Saves self-contained report to disk
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 sagaranalysis-0.1.6.tar.gz.
File metadata
- Download URL: sagaranalysis-0.1.6.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3459554170789d2d2a93a846d3234037b260e063146f19078f205817fca749e
|
|
| MD5 |
d6bdea08fbbbbb5eff1a73d2419754ca
|
|
| BLAKE2b-256 |
4cf53a259d1002e75b81040989f907f8331f017e42be85e849269cedb2d83a94
|
File details
Details for the file sagaranalysis-0.1.6-py3-none-any.whl.
File metadata
- Download URL: sagaranalysis-0.1.6-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8998b1db56e73459b7dbf27dd291e8e4ca828b716a665efecaf3cc7fa631dd44
|
|
| MD5 |
d5e3760c8da5db40015a8105da47e8d5
|
|
| BLAKE2b-256 |
bb679e239d3db88f24e16206c7a22a124812869d7deb0f2f46603e4a87092d56
|