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: Pranay Vasani
Subject: Re: [igraph] Help required - How to perform matrix multiplication in igraph-python
Date: Sat, 16 Jan 2016 12:57:42 +0530

Thanks a lot.. The below worked perfectly fine on my machine.
By the way i am using anaconda distribution python 2.7 for 64 bit windows machine.
pr2.write_graphml("pr2.graphml")

On Thu, Jan 14, 2016 at 4:11 PM, Tamas Nepusz <address@hidden> wrote:
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


reply via email to

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