Commit 2d66e0c7 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Update day to be 0701 if not available.

parent 18c523aa
Pipeline #7827 failed with stage
in 6 seconds
...@@ -64,7 +64,7 @@ def filter_table(demographics, tumor_registry): ...@@ -64,7 +64,7 @@ def filter_table(demographics, tumor_registry):
if tmp.shape[0] > 1: if tmp.shape[0] > 1:
date = str(int(tmp['Date of Diagnosis'].min())) date = str(int(tmp['Date of Diagnosis'].min()))
if len(date) == 4: if len(date) == 4:
date = date + '0715' date = date + '0701'
elif len(date) == 6: elif len(date) == 6:
date = date + '15' date = date + '15'
df_merged.loc[df_merged['MRN'] == mrn, 'Date of Diagnosis'] = date df_merged.loc[df_merged['MRN'] == mrn, 'Date of Diagnosis'] = date
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment