-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get co-authorship_graph.pkl? #1
Comments
you can see the file in data folder,but i had a problem when i run the code |
AttributeError: 'Graph' object has no attribute '_node' |
@mellinging you can change you version of package networkx, I have the same problem and I try on another PC, this bug missing. |
https://pypi.python.org/pypi/networkx/1.9.1 |
@Uylee you should change version of network if there occurs some errors. you can reference my another answer.
|
Hello, everyone! and here is the code below: in v1.xpickle.dump([G.nodes(data=True), G.edges(data=True)], file) then in v2.xnodes, edges = pickle.load(file) the graphs in 1.x and 2.x are different. So, we need to change the version to 1.x or change the graph given, all will work!!! |
Can you share the source dataset.
The text was updated successfully, but these errors were encountered: