Description
ADXIO
Library of useful functions for transforming byte data to/from python tasks.
This library can be utilized in EdgeOps with the following steps.
- Upload the
adxio.pyfile to the MiniopythonS3 bucket of your EdgeOps environment - Within your python task
- Add
import adxioto the top of the task code - Add contents of
requirements.txtto theRequirementssection of the task window
- Add
Available Functions
- arrow_stream_to_df(arrow_byte_stream: [bytes]) -> pandas.DataFrame
Convert a byte array representing an arrow table to a pandas dataframe - df_to_arrow_stream(df: pandas.DataFrame) -> [bytes]
Convert a pandas dataframe to an arrow table byte array