cugraph.to_pandas_adjacency#

cugraph.to_pandas_adjacency(G)[source]#

Returns the graph adjacency matrix as a Pandas DataFrame. The row indices denote source and column names denote destination.

Parameters:
Gcugraph.Graph

Graph containing the adjacency matrix.