Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rapids - convert nerworkx to cugraph

M = cudf.read_csv('datasets/karate.csv', delimiter=' ',
                   dtype=['int32', 'int32', 'float32'], header=None)

G = cugraph.Graph()
G = cugraph.from_cudf_edgelist(M, source='0', target='1', weight='2')
Source by docs.rapids.ai #
 
PREVIOUS NEXT
Tagged: #rapids #convert #nerworkx #cugraph
ADD COMMENT
Topic
Name
2+2 =