Hopeit Engine Dataframes Toolkit
Project description
# hopeit.engine dataframes plugin
This library is part of hopeit.engine:
> check: https://github.com/hopeit-git/hopeit.engine
### Install using extras when installing hopeit.engine:
```
pip install hopeit.engine[dataframes]
```
### hopeit.dataframes
This plugin introduces dataclasses annotations to work with `pandas` dataframes
as other dataobjects:
`@dataframe` annotation allows a dataclass to become the schema and container for a dataframe
`@dataframeobject` annotation, acts as @dataobject with support to have dataframe annotated fields
`DataFrames` class, provides an api to create, serialize, and access pandas dataframe
Features:
-Type coercion for @dataframe fields
-Transparent access to series in @dataframe objects using dot notation
-Serialization for @dataframe and @dataframeobjects allowing them to be transferred through streams (using file system storage to store the actual data, and transferring only metadata for deserialization in the stream)
-Support to handle @dataframeobject as payload for web requests
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
Built Distribution
Close
Hashes for hopeit.dataframes-0.25.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fbf4cd95fd1de25ada625b2932f83ee38198631b4e27c66d413bc6d822e39d4 |
|
MD5 | 1fedf0d936d87905400138900f253d7e |
|
BLAKE2b-256 | 79fa6452d1c4decb9186de0ecee24c5fa216b1b161c6a2165cea53f370cea3a8 |