A library to create data flow charts.
Project description
filterflow
This package allows for the creation of funnel graphs to quickly and easily display the length of a dataset as a series of data processing steps are applied to it.
Example usage
from filterflow import Flow
# Create list from 0 to 99
elements = range(100)
# Declare flow
f = Flow("Example with filtering numbers", len(elements))
# Filter out odd numbers
evens_only = [x for x in elements if x%2 == 0]
f.add_step("Removing odd numbers gives:", len(evens_only))
# Filter out numbers greater than 40
evens_less_than_40 = [x for x in evens_only if x < 40]
f.add_step("Removing numbers >= 40:", len(evens_less_than_40))
# Plot chart
f.plot()
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
filterflow-0.1.2.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file filterflow-0.1.2.tar.gz.
File metadata
- Download URL: filterflow-0.1.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96bab5c81aabbe0230f220a605a3f4388bd85a1dc93575b5eb464d087148cff9
|
|
| MD5 |
0b38db2160af330db95891dacd531ac5
|
|
| BLAKE2b-256 |
32f572bb077309920ab81b16c615d64fe25e6e88416b09ad38f7c7463c6cad0e
|
File details
Details for the file filterflow-0.1.2-py3-none-any.whl.
File metadata
- Download URL: filterflow-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e78169a2ac03554d091bab4f21801cb03d71fe4f2576748269653cbf6215c92
|
|
| MD5 |
7d355d064641ecd86caf1c2d97d5e6b0
|
|
| BLAKE2b-256 |
8c8f80e41f316de864d68d7ec84109dd2028dd3dbf2bdd9a378d62efb3280234
|