Skip to content

Parquet

Read and write a graph as a directory of Apache Parquet tables, with a manifest for the parts that are not tables.

annnet.io.parquet.from_parquet

from_parquet(path)

Read GraphDir (lossless) using bulk ops for speed.

annnet.io.parquet.to_parquet

to_parquet(graph, path)

Write lossless GraphDir:

nodes.parquet, edges.parquet, slices.parquet, edge_slices.parquet, manifest.json Wide tables (attrs as columns). Hyperedges stored with 'kind' and head/tail/members lists.