aryagraph.io.interop.to_pandas#
- aryagraph.io.interop.to_pandas(g: Graph, *, node_id: str = 'id', source: str = 'source', target: str = 'target') tuple[Any, Any][source]#
(nodes_df, edges_df): one row per node (id+ attributes) and per edge (source,target+ attributes).Attribute columns are the union of keys in first-seen order; missing values are NaN. Integer columns with gaps use pandas’ nullable
Int64dtype so their values stay integers.