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.3.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.3-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datawash_inspector-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 01f0a5f45eff45ebb1a02d6c0d38bbf4850c1f3ced9bf6bf4a16f110b9fdccc3
MD5 43be00e43eead26e897dd9542471f12a
BLAKE2b-256 72a8534c807e0d60e4fea15ef6a38418dd5681fce35dd655060679c309b6c976

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datawash_inspector-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f54a39545c587f4eca21703021424f475d3c7ee72f8761f15f38b30077ca9de
MD5 4ea86c81bbef67ec322b66e3080559f7
BLAKE2b-256 b3ed63cb97100c1089853a96411276d543c345588b5e6c07da3178413cc79a3c

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