cugraph.from_pandas_adjacency#
- cugraph.from_pandas_adjacency(df, create_using=<class 'cugraph.structure.graph_classes.Graph'>)[source]#
Initializes the graph from pandas adjacency matrix.
- Parameters:
- dfpandas.DataFrame
A DataFrame that contains edge information
- create_using: cugraph.Graph (instance or class), optional (default=Graph)
Specify the type of Graph to create. Can pass in an instance to create a Graph instance with specified ‘directed’ attribute.