igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] How to Create a Weight List using Python for Modularity()


From: Salvatore Palomino
Subject: Re: [igraph] How to Create a Weight List using Python for Modularity()
Date: Sun, 23 Feb 2014 12:50:09 -0800

When I do the same to my graph (g, undirected, V = 101, E = 10100), it gives me an error.

<<< type(g.es
AttributeError: 'igraph.Graph'  object has no attribute 'es'


On Sun, Feb 23, 2014 at 12:25 PM, Tamás Nepusz <address@hidden> wrote:
> .es[] is included in which package?

.es is a standard attribute of any graph object in the Python interface of igraph:

>>> from igraph import Graph
>>> g = Graph.Famous(“petersen”)
>>> type(g.es)
igraph.EdgeSeq


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]