data replace
jack0513 opened this issue · 6 comments
I can run this program, but why I can't replace data file, and the error is KeyError:‘weight’.
Hi, please add 'weight' attribute to all the edges of your network, representing the weight of each edge.
thank you, I get it. but how can I open the 'co-authorship_graph.pkl' dataset file, I want know what format it is. I open this file according to the Internet, but the answer is always empty
please refer to #1 . The graph is stored in networkx format. I will update the example network file when I have time.
I know where the file is, but how to open it , I'm so sorry to disturb you
If you just want to open the network file, currently please use nx.read_gpickle(graph_file)
by an old version of networkx (such as 1.9.1).
ok,thank you very much