I have an adjacency list in a csv file which is like this:
'a','b','0.5','c','0.34','e','0.25'\n
'b','c','0.78','d','0.3','e','0.25'\n
etc
The first 'column' represent the start node and after that the following 'columns' represent the nodes adjacent neighbours and their edges' weights. The file contains almost 17.000 rows and its row has 341 elements.
My question is how can I represent the former data as an undirected graph in Python?
I've already try the read_adjlist from NetworkX but this is not for weighted edges.