hatvis.io.read_incidence_csv#

hatvis.io.read_incidence_csv(path, node_col='node', edge_col='edge', value_col=None, matrix=False, **read_kwargs)[source]#

Read a CSV file.

matrix=False: an incidence list with one row per vertex–hyperedge pair; matrix=True: an incidence matrix with vertex labels in the first column and hyperedge labels in the header.