Skip to main content

An automated end-to-end data cleaning, preprocessing, and EDA pipeline.

Project description

DataWash 🔬

DataWash 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 interactive Streamlit dashboard for zero-code data exploration!

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 powered by Streamlit. You can launch it directly from your script to visually explore your data!

# Launch the dashboard to see Heatmaps, Bar Charts, and Health Reports!
pipe.run_app()

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", "?", "-") to NaN values.
  • 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


Download files

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

Source Distribution

datawash_inspector-0.1.4.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

datawash_inspector-0.1.4-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file datawash_inspector-0.1.4.tar.gz.

File metadata

  • Download URL: datawash_inspector-0.1.4.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for datawash_inspector-0.1.4.tar.gz
Algorithm Hash digest
SHA256 de6d5e5add611494602dfe5c817f5c4d0f345e9360b34a1bb2c8e955c4d0ed32
MD5 5c4318f8cec6dd9dc84e8ebf4796d590
BLAKE2b-256 0422c367990ebe1a90e7b996d88557bdd373dba3c1eb4007c7ce7b089265285c

See more details on using hashes here.

File details

Details for the file datawash_inspector-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for datawash_inspector-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8695d609fd9f15360e8816317aa0af54d42b21c1213370b558011eba5a27ac64
MD5 3dc6ae5524beebf33c30998da0bcba0f
BLAKE2b-256 be042e681dc21862bec1dea35c963a3e91d040e3d7ae6654df7f39c871065849

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