beautify
This commit is contained in:
parent
a19860bdb2
commit
fe128f8681
2
model.py
2
model.py
|
@ -119,9 +119,9 @@ class Model(ap.Model):
|
|||
if v['Firm_Code'] == node and
|
||||
v['Product_Code'] == use_pred_prod_code][0]
|
||||
G_FirmProd.add_edge(pred_node, current_node)
|
||||
|
||||
# nx.to_pandas_adjacency(G_Firm).to_csv('adj_g_firm.csv')
|
||||
# nx.to_pandas_adjacency(G_FirmProd).to_csv('adj_g_firm_prod.csv')
|
||||
|
||||
# unconnected node
|
||||
for node in nx.nodes(G_Firm):
|
||||
if G_Firm.degree(node) == 0:
|
||||
|
|
Loading…
Reference in New Issue