experiments'

This commit is contained in:
HaoYizhi 2023-07-03 12:42:20 +08:00
parent 9ebdb89332
commit b17dec4dbe
3 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
db_name_prefix: without_exp db_name_prefix: with_exp

View File

@ -60,8 +60,7 @@ class ControllerDB:
result['dct_lst_init_disrupt_firm_prod'] = \ result['dct_lst_init_disrupt_firm_prod'] = \
result['dct_lst_init_disrupt_firm_prod'].apply( result['dct_lst_init_disrupt_firm_prod'].apply(
lambda x: pickle.loads(x)) lambda x: pickle.loads(x))
list_dct = result.loc[result['count'] > 10, list_dct = result['dct_lst_init_disrupt_firm_prod'].to_list()
'dct_lst_init_disrupt_firm_prod'].to_list()
else: else:
for _, row in Firm.iterrows(): for _, row in Firm.iterrows():
code = row['Code'] code = row['Code']