خرید بک لینک

Vote count: 0

I'm just starting to use Networkx and have a small problem. When I try to create a coected subgraph of my graph G it retus the error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 76: ordinal not in range(128)". I have no idea what it means.

import networkx as nx;
G = nx.read_gml(r'path.gml');

cluster= nx.average_clustering(G);
H = G.subgraph(nx.coected_components(G),key=len); 
diam=nx.diameter(H);

Any kind of help is really appreciated !

asked 44 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 25 فروردين 1395 ساعت: 12:58

صفحه بندی