Skip to main content

A lightweight data preprocessing toolbox

Project description

TidyFlow: A Lightweight Data Preprocessing Toolbox

TidyFlow is a Python package designed to simplify and streamline data preprocessing. It provides modular, user-friendly functions for cleaning, encoding, scaling, and transforming data, making it easier for data scientists and machine learning practitioners to prepare datasets efficiently.

PyPI Downloads

Features

Modular & Customizable – Use functions independently or build a full pipeline. ✅ Automated Smart Suggestions – Guides users on best preprocessing practices. ✅ Seamless Integration – Works with Pandas & Scikit-learn pipelines. ✅ Scalability – Designed to support additional preprocessing techniques in the future.

Installation

pip install tidyflow

Usage

import pandas as pd
from tidyflow import clean_missing, encode_categoricals, scale_features, feature_engineer, handle_outliers, auto_dtype, suggest_pipeline, build_pipeline

df = pd.DataFrame({
    'A': [1, 2, None, 4],
    'B': ['cat', 'dog', 'mouse', None],
    'C': [100, 200, 300, 400]
})

df = clean_missing(df)
df = encode_categoricals(df)
df = scale_features(df)
df = feature_engineer(df, method='poly', degree=2)
df = handle_outliers(df)
df = auto_dtype(df)
suggestions = suggest_pipeline(df)
pipeline = build_pipeline(df)

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

tidyflow-0.1.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

tidyflow-0.1.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tidyflow-0.1.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.7

File hashes

Hashes for tidyflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b130c95778e3a1c80bb866fbfd97fdc4a27c7799f94038445aea60a332c64d55
MD5 7fff65871990a6d6e442559587d35122
BLAKE2b-256 eb8d65ce59335ebe2b03a4b25e07ec950e89c433a0e6771d667dc8b224d4b627

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tidyflow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.7

File hashes

Hashes for tidyflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21c27e3dc5cbf47b9d3450ca097d3d53336f0d54c8262d306695af5d6b1b343c
MD5 f14293b348f6192c7a0ff7ea33bb4263
BLAKE2b-256 d11915239c0cdff2b0e2ba68fca8a61273119a45c6ff58d8b7cb2e0d6429199d

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