Data Refinery: transformating data
Project description
Data Refinery
The main goal of the library is perform a Transformation over a data event. Supports a variety of functions typically used on machine learning and AI.
Development is oriented into a functional style avoiding side effects on transformations.
Installation
In console pip install data-refinery or python setup.py install from sources.
Usage example
from datarefinery.TupleOperations import wrap, keep, substitution
from datarefinery.CombineOperations import secuential
x2 = wrap(lambda x: x*2)
operation = secuential(keep(["name"]), substitution(["value"], x2))
(res, err) = operation({"name": "John", "value": 10})
print(res) # {"name": "John", "value": 20}
Documentation
Visit complete documentation at github pages branch or at readthedocs.io.
Compatibility
Python: 3.5, 3.6
Contribute
Follow the steps on the how to contribute document.
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
data-refinery-0.2.1.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for data_refinery-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a4553804f55f3bf9b3c03019810728732b23330219f3ea5d012ceefdeffb18 |
|
MD5 | 69535891c4d3da85b3589cc107b5c81f |
|
BLAKE2b-256 | a22df419a1d859d8dc185807511d1915f135690554cb0db53fe07fc862d1c7f9 |