Skip to main content

A small Python utility that pipes data from function to function in sequencial order.

Project description

dvpipe

A small Python utility for piping data from function to function in sequential order.

dvpipe allows you to pass data from function to function sequentially as you would in tradional method chaining. You can use dvpipe to transform any type of data not just DataFrames as with DataFrame.pipe()

Example Usage:

from dvpipe import pipe


df = (pipe(df,
           clean,
           transform,
           dump_to_csv))

Use Python tuples for functions with parameters.

df = pipe(df, (dump_to_csv, 'output.csv'))

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

dvpipe-0.0.3.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

dvpipe-0.0.3-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page