Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -60,6 +60,7 @@ df = pd.merge(df, df2, on=['HADM_ID','SUBJECT_ID'])
|
|
60 |
|
61 |
df['HADM_ID'] = df['HADM_ID'].astype(str).apply(lambda x: x.replace('.0',''))
|
62 |
|
|
|
63 |
|
64 |
#Renaming column
|
65 |
df.rename(columns={'SUBJECT_ID':'Patient_ID',
|
|
|
60 |
|
61 |
df['HADM_ID'] = df['HADM_ID'].astype(str).apply(lambda x: x.replace('.0',''))
|
62 |
|
63 |
+
del df2
|
64 |
|
65 |
#Renaming column
|
66 |
df.rename(columns={'SUBJECT_ID':'Patient_ID',
|