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.1.tar.gz (27.7 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.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datawash_inspector-0.1.1.tar.gz
  • Upload date:
  • Size: 27.7 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.1.tar.gz
Algorithm Hash digest
SHA256 02b1abe1abd13928451a1cf1657d76cb52122fd5f2f278896e7512c22ef1f2ca
MD5 bfb791257639ae8d8524ff2818b0634b
BLAKE2b-256 ba2cdd49f1ff875a0743399d907ef16eaccb9a2aa6cd93af56771951ce558aec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datawash_inspector-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a32811ad86d99f43abb811ede1c65385f6e4390b3f3ccc11dac2ff9863175eb1
MD5 cb698c89296cc1e43d40c88417850e06
BLAKE2b-256 964655fcd6b1c67bebeada9190fbeba60879a4eb2bee5446a20ecb021355aad1

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