Skip to main content

A lightweight data preprocessing toolbox

Project description

README.md

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tidyflow-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e1a63230af7e1335cf2fffed780c29e37d0299da0731b4bb5e1e1986ecafb757
MD5 59ba23a17846cbbe719f2b146afecedc
BLAKE2b-256 8512cf9d883937dbd60e43657966cd193cd78a604825ade19029be104a22c226

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tidyflow-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0da158eed1e78ddf4b04de37864a6ef7534a28c51872080541f072c214adeb97
MD5 fcde2091a5466f4fc1ed56935573e23e
BLAKE2b-256 5bc70bc3c4e77dbc7d27c04f3a951793ef599eebfaf487fe78dbe1f54e4ad5e5

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