Friday, 23 August 2013

create edge list from a matrix adjacency included a csv file for using networkx python pakage

create edge list from a matrix adjacency included a csv file for using
networkx python pakage

I have used Networkx package for visualization graphs. So I need edge list
from a matrix file but i am new in python can you help me.
input: a csv file contain a matrix



1 0 0 1



output:
(a,a) (b,b)

No comments:

Post a Comment