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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ffa8688e3bcf05e07b8a1a107a112a28cfd58d45bc63acf06d464985fa0dd0e |
|
MD5 | 1fdbb46a8e68fb1226e3710b4ada07a9 |
|
BLAKE2b-256 | 3d5d1bba30074f83c8a7f35117dde76b9d4c833c15319afe673b864aae744a66 |