Skip to main content

Data Preprocessing flow tool in python

Project description

ProxiFlow is a data preparation tool for machine learning that performs data cleaning, normalization, and feature engineering.

Usage

To use ProxiFlow, install it via pip (from test PyPi):

pip install -i https://test.pypi.org/simple/ proxiflow

You can then call it from the command line:

proxiflow --config-file myconfig.yaml --input-file mydata.csv --output-file cleaned_data.csv

Here’s an example of a YAML configuration file:

data_cleaning:
  remove_duplicates: True
  handle_missing_values:
    drop: True

data_normalization:
  ...

feature_engineering:
  ...

The above configuration specifies that duplicate rows should be removed and missing values should be dropped.

API

ProxiFlow can also be used as a Python library. Here’s an example:

import polars as pl
from proxiflow.config import Config
from proxiflow.core import DataFlow

# Load the data
df = pl.read_csv("mydata.csv")

# Load the configuration
config = Config("myconfig.yaml")

# Preprocess the data
dfl = DataFlow(config)
cleaned_df = dfl.clean_data(df)

# Write the output data
cleaned_df.write_csv("cleaned_data.csv")

TODO

  • [x] Data cleaning

  • [ ] Data normalization

  • [ ] Feature engineering

Note: only data cleaning is currently implemented; data normalization and feature engineering are TODO features.

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

proxiflow-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

proxiflow-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proxiflow-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.10 Darwin/22.2.0

File hashes

Hashes for proxiflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a77c04914d1c6d1168fafb04af10b01dcd64a01a4e45c967242760043cd26bb5
MD5 7baf5f17859bd8d7a26c4af5d0895d8d
BLAKE2b-256 e7cc41b1540951014d8a0db6c8cfee820c983b47bacc371ccb7d917f0e91bb55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: proxiflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.10 Darwin/22.2.0

File hashes

Hashes for proxiflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68ab7fa53d8d2de761be391143597f678cc0969cd67e7e6ed277f0cd63211288
MD5 bb92197dd69de04a97bdc039ce17e30c
BLAKE2b-256 4c54f7e7d0567da86f3d7ee5698d422f2ad6bfffe948ae287c036f9b480eb312

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