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.
Metadata
Release files for sagaranalysis 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sagaranalysis-0.2.1.tar.gz | 33.6 kB | Without provenance | Details for sagaranalysis-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sagaranalysis-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for sagaranalysis-0.2.1-py3-none-any.whl |
Total release size: 67.3 kB
Release files / sagaranalysis-0.2.1.tar.gz
| Download URL | sagaranalysis-0.2.1.tar.gz |
|---|---|
| Size | 33.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e70305f5832d372af31c71198f4e0fe6d5769652fffd21c76c6258fb4b87a04
|
|
BLAKE2b-256 checksum How to use checksums |
e5f4611391a0e50578c84530940e09bffa588742e45abe10a0df86290cdfbb9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / sagaranalysis-0.2.1-py3-none-any.whl
| Download URL | sagaranalysis-0.2.1-py3-none-any.whl |
|---|---|
| Size | 33.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b70f05740fb0b412066fc15bdda7191ab9a765645422dca78798291283ef34d
|
|
BLAKE2b-256 checksum How to use checksums |
3483dbd653dfc35d410f4d896a37fc544b03dfe491458d8cb8cd83653c5250fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for sagaranalysis 0.2.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.