An automated end-to-end data cleaning, preprocessing, and EDA pipeline.
Project description
DataWash 🔬
DataWash Inspector is an automated, end-to-end Python data pipeline that cleans, prunes, prepares, and visualizes your datasets with zero manual effort. It includes a built-in serverless HTML dashboard for zero-code data exploration in Google Colab!
Installation
You can install datawash via pip:
pip install datawash-inspector
Quick Start
It only takes a few lines of code to completely sanitize, optimize, and encode your dataset for machine learning.
from datawash import DataPipeline
# 1. Initialize Pipeline
pipe = DataPipeline()
# 2. Load and Auto-Clean
pipe.load_data('your_data.csv')
pipe.sanitize_garbage().auto_type_correct()
pipe.handle_missing_values(strategy='auto')
# 3. Export Clean Data
pipe.save_data('cleaned_data.csv')
The Interactive Dashboard
datawash comes with a fully automated EDA (Exploratory Data Analysis) dashboard.
For Google Colab / Jupyter Users: Instantly inject a serverless, interactive HTML dashboard directly inside your notebook!
# Magically embeds a stunning UI into your Colab cell
pipe.show_dashboard()
For Local IDE Users (VS Code, PyCharm, etc): Automatically generate the HTML dashboard and open it in your default web browser!
# Generates the report and pops it open in Chrome/Safari/Edge
pipe.show_dashboard()
Features
- Memory Optimization: Automatically downcasts large numbers to save memory (up to 50%+ reduction).
- Auto-Cleaning: Automatically converts pure whitespace strings or garbage text (
"N/A","?","-") toNaNvalues. - Smart Imputation: Dynamically imputes missing numeric values with the median and categorical values with the mode.
- Statistical EDA: Calculates an advanced unified correlation matrix supporting numerical, categorical, and mixed variable types (Cramér's V, Eta, Spearman).
- Feature Pruning: Automatically identifies and drops highly redundant features (e.g.,
> 90%correlation) and high-cardinality IDs.
License
This project is licensed under the MIT License.
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 datawash_inspector-0.2.1.tar.gz.
File metadata
- Download URL: datawash_inspector-0.2.1.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1e59ac8d435f9e9de5ba22054c1dd4dffb02b601d98231ab3ae1a6edef26389
|
|
| MD5 |
0eeeb561b80a84da6f84d1a26d958964
|
|
| BLAKE2b-256 |
9bf6dad9192e798d2a08936cfedad7950f860b70fda70fe897fe787bacb7781c
|
File details
Details for the file datawash_inspector-0.2.1-py3-none-any.whl.
File metadata
- Download URL: datawash_inspector-0.2.1-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dea8bb9c13e54ddd622697bae6b10b2391df6adba310625daa8035d0539aa77b
|
|
| MD5 |
5758655a3a4a533b8d16619d3f96bf50
|
|
| BLAKE2b-256 |
6f17bce18818465a32c18edc4c403b7c7ec176bfd2eec661ad23d8ddaed4d379
|