Comprehensive Data Cleaning, Profiling, and EDA Toolkit
Project description
Hygiea
Hygiea is a comprehensive Python package for data “hygiene”: automated cleaning, profiling, and basic feature engineering.
It supports both Jupyter notebooks and command‑line usage.
Key Features
-
Column‑Name Standardization
- Lowercase, replace spaces/special chars, optional mapping from user.
-
Automatic Type Conversion
- Detects and converts dates, numerics, booleans.
-
Drop High‑Missingness
- Drop columns/rows exceeding a missing‐value threshold.
-
Low‑Variance / Constant Feature Detection
- Identifies columns with near‑zero variance.
-
Outlier Detection & Winsorization
- IQR, Z‑score, or Isolation Forest.
-
Categorical Encoding Suggestions & Utilities
- Reports cardinality, frequency distribution, one‑hot/label/target encoding helpers.
-
Multiple Imputation Strategies
- Median/mode, KNN, MICE, forward/backward fill.
-
Automated Visual Profiling
- Generates an interactive HTML report (via
pandas_profiling).
- Generates an interactive HTML report (via
-
Standard EDA Reports
- Summary statistics, missingness CSV, correlation matrix, VIF, class imbalance.
-
Target‑Guided EDA
- If a target column is provided, outputs per‑class distributions and statistical tests.
-
Time Series Profiling
- Automatically detects datetime, outputs time‑series plots and rolling summaries.
-
Text Cleaning & Tokenization Utilities
- Lowercase, strip, remove punctuation, stopwords removal, optional stemming/lemmatization.
-
Pipeline Configuration (YAML/JSON)
- Define cleaning steps in a config file, with logging.
-
Database & Big‑Data Support
- Read/write from SQL, chunked CSV processing.
-
Feature Engineering Helpers
- Date feature extraction, interaction/polynomial features, binning.
-
Quality & Consistency Checks
- Unique ID validation, cross‑column logic rules, data‐drift detection.
-
Model‑Ready Exports
- Train/test split helper,
sklearn‐compatible transformer, export feature metadata.
- Train/test split helper,
-
Plugin/Extension System
- Register custom cleaning/EDA rules via entry points.
Installation
pip install hygiea
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 hygiea-0.5.1.tar.gz.
File metadata
- Download URL: hygiea-0.5.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d498a6c2741b8845eb560a09ad8717f4e24a00bda408ace3fc7aea7a5791cac5
|
|
| MD5 |
e039f022cb68bfc030d5aa9a767781e1
|
|
| BLAKE2b-256 |
cd4b2eccee36e1092b49b2e6ec8aeb84f03cdd17215fa5a016530aef670d8d2a
|
File details
Details for the file hygiea-0.5.1-py3-none-any.whl.
File metadata
- Download URL: hygiea-0.5.1-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6515bee4b1a6b585230ff2d94e61ba0228038896ccbcb4d439a3183b7755d47d
|
|
| MD5 |
8fdd942655031e156c5710df5b152600
|
|
| BLAKE2b-256 |
91a84592d3ca603d3d8e94baf0d70e141e32b103d4c19dca777de777579545d6
|