Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +1 -1
Mimic4Dataset.py
CHANGED
@@ -450,7 +450,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
450 |
if feat_tocsv:
|
451 |
#save the features of the vector for analysis purposes if needed
|
452 |
if self.encoding == 'concat':
|
453 |
-
feats = concat_cols
|
454 |
else:
|
455 |
feats = list(dyn_df.columns.droplevel(0))
|
456 |
feats.extend(list(cond_df.columns))
|
|
|
450 |
if feat_tocsv:
|
451 |
#save the features of the vector for analysis purposes if needed
|
452 |
if self.encoding == 'concat':
|
453 |
+
feats = concat_cols.copy()
|
454 |
else:
|
455 |
feats = list(dyn_df.columns.droplevel(0))
|
456 |
feats.extend(list(cond_df.columns))
|