Can you give a more specific example of what kind of hierarchical data
you want to serialize? (eg the output of a groupby operation in pandas
typically is still a dataframe that can be converted to pyarrow and
serialized).

In general, for hierarchical data we have the nested data types (eg
struct type when you nest "multiple columns in a single column").

Joris


On Thu, 29 Oct 2020 at 15:29, Adam Lippai <a...@rigo.sk> wrote:
>
> Hi,
>
> is there a way to serialize (IPC) hierarchical tabular data (eg. output of
> pandas groupby) in python?
> I've tried to call pa.ipc.serialize_pandas() on this example, but it throws
> error:
> https://stackoverflow.com/questions/51505504/pandas-nesting-dataframes
>
> Best regards,
> Adam Lippai

Reply via email to