From fe128f86811e8305c61c01695e1b24bddfdc0b6c Mon Sep 17 00:00:00 2001 From: HaoYizhi Date: Sun, 18 Jun 2023 21:05:09 +0800 Subject: [PATCH] beautify --- model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.py b/model.py index 845e240..6755685 100644 --- a/model.py +++ b/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: