igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Help required - How to perform matrix multiplication in igr


From: Tamas Nepusz
Subject: Re: [igraph] Help required - How to perform matrix multiplication in igraph-python
Date: Thu, 14 Jan 2016 11:41:57 +0100

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]