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
Release history Release notifications | RSS feed
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)
Built Distribution
dvpipe-0.0.3-py3-none-any.whl
(3.3 kB
view hashes)