with exp
This commit is contained in:
@@ -74,7 +74,7 @@ class ControllerDB:
|
||||
result['dct_lst_init_remove_firm_prod'] = \
|
||||
result['dct_lst_init_remove_firm_prod'].apply(
|
||||
lambda x: pickle.loads(x))
|
||||
list_dct = result.loc[result['count'] >= 9,
|
||||
list_dct = result.loc[result['count'] >= 12,
|
||||
'dct_lst_init_remove_firm_prod'].to_list()
|
||||
# list_dct = [{'140': ['1.4.5.1']}]
|
||||
# list_dct = [{'133': ['1.4.4.1']}]
|
||||
@@ -98,9 +98,9 @@ class ControllerDB:
|
||||
g_product_js = json.dumps(nx.adjacency_data(g_bom))
|
||||
|
||||
# insert exp
|
||||
df_xv = pd.read_csv("xv_without_exp.csv", index_col=None)
|
||||
df_xv = pd.read_csv("xv_with_exp.csv", index_col=None)
|
||||
# read the OA table
|
||||
df_oa = pd.read_csv("oa_without_exp.csv", index_col=None)
|
||||
df_oa = pd.read_csv("oa_with_exp.csv", index_col=None)
|
||||
df_oa = df_oa.iloc[:, 0:df_xv.shape[1]]
|
||||
for idx_scenario, row in df_oa.iterrows():
|
||||
dct_exp_para = {}
|
||||
|
||||
Reference in New Issue
Block a user