This commit is contained in:
HaoYizhi 2023-06-18 21:05:09 +08:00
parent a19860bdb2
commit fe128f8681
1 changed files with 1 additions and 1 deletions

View File

@ -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: