thbndi commited on
Commit
f4802f8
·
1 Parent(s): 0d9b4e1

Update day_intervals_cohort_v22.py

Browse files
Files changed (1) hide show
  1. day_intervals_cohort_v22.py +1 -1
day_intervals_cohort_v22.py CHANGED
@@ -27,7 +27,7 @@ def get_visit_pts(mimic4_path:str, group_col:str, visit_col:str, admit_col:str,
27
 
28
  visit = None # df containing visit information depending on using ICU or not
29
  if use_ICU:
30
- visit = pd.read_csv(mimic4_path + "icu/icustays.csv.gz", compression='gzip', header=0, index_col=None, parse_dates=[admit_col, disch_col])
31
  if use_admn:
32
  # icustays doesn't have a way to identify if patient died during visit; must
33
  # use core/patients to remove such stay_ids for readmission labels
 
27
 
28
  visit = None # df containing visit information depending on using ICU or not
29
  if use_ICU:
30
+ visit = pd.read_csv(mimic4_path + "/icu/icustays.csv.gz", compression='gzip', header=0, index_col=None, parse_dates=[admit_col, disch_col])
31
  if use_admn:
32
  # icustays doesn't have a way to identify if patient died during visit; must
33
  # use core/patients to remove such stay_ids for readmission labels