thbndi commited on
Commit
3e15616
1 Parent(s): 623d8f7

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
@@ -29,7 +29,7 @@ def get_visit_pts(mimic4_path:str, group_col:str, visit_col:str, admit_col:str,
29
 
30
  visit = None # df containing visit information depending on using ICU or not
31
  if use_ICU:
32
- visit = pd.read_csv(mimic4_path + "/icu/icustays.csv.gz", compression='gzip', header=0, index_col=None, parse_dates=[admit_col, disch_col])
33
  if use_admn:
34
  # icustays doesn't have a way to identify if patient died during visit; must
35
  # use core/patients to remove such stay_ids for readmission labels
 
29
 
30
  visit = None # df containing visit information depending on using ICU or not
31
  if use_ICU:
32
+ visit = pd.read_csv(mimic4_path + "icu/icustays.csv.gz", compression='gzip', header=0, index_col=None, parse_dates=[admit_col, disch_col])
33
  if use_admn:
34
  # icustays doesn't have a way to identify if patient died during visit; must
35
  # use core/patients to remove such stay_ids for readmission labels