filterflow-0.1.2
توضیحات
A library to create data flow charts.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | filterflow-0.1.2 |
| نام | filterflow |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Levi Waddingham |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/LeviWadd/filterflow |
| آدرس اینترنتی | https://pypi.org/project/filterflow/ |
| مجوز | - |
# 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()
```

نیازمندی
| مقدار | نام |
|---|---|
| >=4.14.3,<5.0.0 | plotly |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl filterflow-0.1.2:
pip install filterflow-0.1.2.whl
نصب پکیج tar.gz filterflow-0.1.2:
pip install filterflow-0.1.2.tar.gz