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.2.tar.gz (28.0 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.2-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datawash_inspector-0.1.2.tar.gz
  • Upload date:
  • Size: 28.0 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.2.tar.gz
Algorithm Hash digest
SHA256 47b9a293dfadcf7619ac23195ea42391f935d0a99efe296b21ced38e1fee2952
MD5 03bdcee9b32c5068869615ecf66a50a3
BLAKE2b-256 0608977c12c5b3b6b4efefb95bf1c4db2eea30328510bdaff25b2044bc06056d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datawash_inspector-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a569be351bc4314a93b9233ea27219a4f1b9ca0e791e2fec214feed714415d07
MD5 76525cc11e4cbbbf638c33886620d284
BLAKE2b-256 1e6edc4e267f6db7158895529821161dd0f20bd47bf4f2687c30f2cddf42734c

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