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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b37ac3c4c42b85cf66dcfebbc789dc6ec35c13c926bcf87efb47da1b53b8bf5 |
|
MD5 | 7f42f2c5f9ba2aebb8859bfb57d8e37c |
|
BLAKE2b-256 | d8db16500ef7cda91520f0ab23d5cc5f544ed5e5502f7662b3641609e44378d8 |