how add weight in the graph through the pandas dataframe
I wanted a way to check if the weights were added correctly, this was the code
import numpy as np
df = pd.read_csv("finalSolo.csv")
dg = pd.read_csv("nodes.csv")
g = gt.Graph(directed=True)
g_weight= df['Valores']
g_weight = g.new_edge_property('int')
g.edge_properties['weight'] = g_weight
g.add_edge_list(dg.values, hashed =True)