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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tidyflow-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 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.1.tar.gz
Algorithm Hash digest
SHA256 b4d6f84462c5df2d4913bd3e1ebab629c46c17dc754b1c7f1766eb932640342a
MD5 25785e8d431ed4cede9067b0f07d7784
BLAKE2b-256 7a78e645dbccc5bf7ef831ece4b6d6c8dbaa982138f83678959d15cb2ef6373e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tidyflow-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df537f4fdce0258df78423757ec1b45c167993951e1fee3260d87b1bf4cb001b
MD5 ff2fab85f56af81e8842b1d41a149a77
BLAKE2b-256 bec71daf682034982ff95c9e9ddf2996316a5e04a41e93e8e965536bab80967f

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