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 sequential
x2 = wrap(lambda x: x*2)
operation = sequential(keep(["name"]), substitution(["value"], x2))
(res, err) = operation({"name": "John", "value": 10})
print(res) # {"name": "John", "value": 20}
Documentation
Visit complete documentation 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.6.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for data_refinery-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f918a8f6e0a5cfbbdbecacd66621a0126b6bd27bcf023daf908340bf19c7c45 |
|
MD5 | f23839302b2976610172b398942ced04 |
|
BLAKE2b-256 | 736f08cc862b069c7a7841088428343ddbaf0b9e579e67b9cf6606f9c2f917fc |