Skip to main content

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).
  • 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


Download files

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

Source Distribution

sagaranalysis-0.1.5.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

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

sagaranalysis-0.1.5-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file sagaranalysis-0.1.5.tar.gz.

File metadata

  • Download URL: sagaranalysis-0.1.5.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

Hashes for sagaranalysis-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4ab1b0efa001d65f1d4ab0333c4b1af11a868caaf754de73a202ba984ddfb390
MD5 0d8997e684e6e6f8d5a4e549a5874a89
BLAKE2b-256 e2e3da84eb4af4c5bba4d60fd69bf7a34236c35dddcdc6c37a534efa6cb19837

See more details on using hashes here.

File details

Details for the file sagaranalysis-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: sagaranalysis-0.1.5-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

Hashes for sagaranalysis-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 07d438b572060966bf8c1939f35d5580c0669667faaca133e8a77c627f04bca9
MD5 0ef05c05946b553c2ce8e6cc370d1c3b
BLAKE2b-256 0525e1f8a94c8effdb3f00a8102a6a89f56ee9eb40e83b9919543d7c3cceb1ff

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