igraph-help
[Top][All Lists]
Advanced

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

[igraph] converting numpy adjacency matrices into igraph graph objects


From: Ali GÜRKAN
Subject: [igraph] converting numpy adjacency matrices into igraph graph objects
Date: Wed, 25 Nov 2009 16:38:19 +0100

Dear igraph community,

I've been using igraph with Python for some time. I have a  6500X6500 adjacency matrix that I created using Python numpy. Its type is defined as "numpy.ndarray" in Python.
Now I want to load it into igraph to create a graph object. However the best way I could think of was exporting the matrix to a text file and then importing into igraph. However I believe there should be a nicer way to do that.

Any recommendations?
Thanks

Ali

reply via email to

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