Skip to main content

A beginner-friendly Python package for easy data cleaning and preprocessing.

Project description

🚀 cleanflo: A Lightweight Data Cleaning Library

cleanflo is a Python package designed to automate data cleaning tasks such as:

  • Handling missing values ✅
  • Detecting and treating outliers ✅
  • Feature scaling (Standardization, Min-Max, Log Scaling) ✅
  • Encoding categorical features (One-Hot, Label Encoding) ✅
  • Text cleaning (lowercasing, removing special characters, stopwords) ✅

📌 1. Installation

To install cleanflo, use:

pip install cleanflo

## 📌 2. Quick Start
import pandas as pd
from cleanflo import cleanflo_pipeline

# Sample DataFrame
df = pd.DataFrame({
    "Age": [25, 30, None, 40, 50],
    "Salary": [50000, 60000, 70000, None, 90000],
    "Department": ["HR", "Finance", "IT", "IT", "Sales"],
    "Review": ["Great product!", "Worst experience!!!", "Just okay.", "Loved it!", "Nice deal."]
})

# Apply the full cleaning pipeline
df_cleaned = cleanflo_pipeline(
    df,
    handle_missing=True,
    outlier_columns=["Age", "Salary"],
    scale_columns=["Salary"],
    encode_columns=["Department"],
    text_clean_columns=["Review"]
)

print(df_cleaned)

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

cleanflo-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

cleanflo-0.1.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cleanflo-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cleanflo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 08f4c9aeddf3651f50ae490ec7499af92afab5aa49d17b0cbb6225e3302a2751
MD5 4b81a6846946f12ecdf02cfeb6b58e8b
BLAKE2b-256 4703e75e1bd33b7a0c343d5f10e0913f9738b328934f1e4e136ce3f91d6ca179

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cleanflo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cleanflo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bde95c71b2d74526a3724a514666d57a0901ae991f7c0310a95a4f758d6a9a6
MD5 5321ad1b3e5d61719fdafb5dd3a376af
BLAKE2b-256 ad364330ee6a9de2f5bf3f0c1c32204f52066476bc53e8bd54f34c62bd469717

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