📅  最后修改于: 2022-03-11 14:45:14.903000             🧑  作者: Mango
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')