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()
Dashboard Features
- 📥 Download Cleaned File: A built-in button allows you to download your fully cleaned and optimized dataset instantly.
- Univariate Subplots: 3-panel layout (Box, Scatter, Histogram) for numeric columns.
- Categorical Frequencies: Bar charts with percentage labels.
- Smart Relationships: Automatically detects the top 5 most highly correlated features and plots them using dynamic chart routers (Num vs Num -> Scatter + OLS, Cat vs Num -> Box, Cat vs Cat -> Grouped Bar).
- Correlations Heatmap: Advanced Cramér's V, Eta, and Spearman correlation matrix.
📊 Standalone Smart Plotting
Don't want to load the full dashboard? You can generate individual charts directly in your notebook instantly!
# 1. 3-Panel Univariate Subplots
pipe.univariate_subplots('price')
# 2. Smart Relationship Router (Auto-detects data types!)
pipe.plot_relationship('developer', 'price') # Generates Box Plot
pipe.plot_relationship('price', 'user_rating') # Generates Scatter + OLS
# 3. Categorical Frequencies with Percentages
pipe.plot_categorical_frequency('primary_genre')
# 4. Deep Statistical Heatmap
pipe.plot_all_associations_heatmap()
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.
Metadata
Release files for datawash-inspector 0.4.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 |
|---|---|---|---|---|
| datawash_inspector-0.4.1.tar.gz | 28.7 kB | Without provenance | Details for datawash_inspector-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datawash_inspector-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for datawash_inspector-0.4.1-py3-none-any.whl |
Total release size: 58.9 kB
Release files / datawash_inspector-0.4.1.tar.gz
| Download URL | datawash_inspector-0.4.1.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d96b92c8d74222d27aa476613291b9a7c6d3d36f337c603e0d484221eedbda9
|
|
BLAKE2b-256 checksum How to use checksums |
158627c474141636588bae2e58512654419a9a036779a2ab101832a32e845220
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / datawash_inspector-0.4.1-py3-none-any.whl
| Download URL | datawash_inspector-0.4.1-py3-none-any.whl |
|---|---|
| Size | 30.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90aaaa8773211f2fc28e2f37926af8aba5bbd129c32b693677dc33cf34c1d290
|
|
BLAKE2b-256 checksum How to use checksums |
94ab3473c33278f2df104f1040058f74e67906a755f8458c3967adfefc0a06ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for datawash-inspector 0.4.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.