thbndi commited on
Commit
a68c8eb
1 Parent(s): 90e9e57

Update data_generation_icu_modify.py

Browse files
Files changed (1) hide show
  1. data_generation_icu_modify.py +1 -1
data_generation_icu_modify.py CHANGED
@@ -388,7 +388,7 @@ class Generator():
388
 
389
  for hid in self.hids:
390
  grp=self.data[self.data['stay_id']==hid]
391
- dataDic[hid]={'Cond':{},'Proc':{},'Med':{},'Out':{},'Chart':{},'ethnicity':grp['ethnicity'].iloc[0],'age':int(grp['Age']),'gender':grp['gender'].iloc[0],'label':int(grp['label'])}
392
 
393
 
394
  for hid in tqdm(self.hids):
 
388
 
389
  for hid in self.hids:
390
  grp=self.data[self.data['stay_id']==hid]
391
+ dataDic[hid]={'Cond':{},'Proc':{},'Med':{},'Out':{},'Chart':{},'ethnicity':grp['ethnicity'].iloc[0],'age':int(grp['Age']),'gender':grp['gender'].iloc[0],'label':int(grp['label']),'insurance':grp['insurance'].iloc[0]}
392
 
393
 
394
  for hid in tqdm(self.hids):