|
From: | Pranay Vasani |
Subject: | Re: [igraph] Help required - How to perform matrix multiplication in igraph-python |
Date: | Sat, 16 Jan 2016 12:57:42 +0530 |
Hi,
> pr1,pr2 = g.bipartite_projection("type")
> f = io.open("pr2.graphml", 'w',encoding='utf8')
> pr2.write_graphml(f)
Hmmm, this works for me on my machine so it could be
platform-dependent. Which Python version are you using on which
platform?
Also, try this instead - it is simpler and supposed to work on all
platforms (no need to create 'f' at all):
pr2.write_graphml("pr2.graphml")
T.
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |