We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a46d4 commit d22a673Copy full SHA for d22a673
utils/functions.py
@@ -15,7 +15,6 @@ def create_graph_from_adj(adj: list, coord: pd.DataFrame):
15
for j in range(n):
16
if adj[i, j] > 0:
17
graph.add_edge(i, j, color="g", weight=adj[i, j])
18
- graph.add_edge(j, i, color="g", weight=adj[j, i])
19
edges = graph.edges()
20
pos = {}
21
# coord has id as index with lat, lon columns
0 commit comments