Commit 55155ee6 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix tests.

parent a83e89b3
Pipeline #8203 failed with stage
......@@ -109,7 +109,10 @@ def calculate_shift(merged):
merged['BIRTH_DATE'] = pd.to_datetime(merged['BIRTH_DATE'])
merged['DEATH_DATE'] = pd.to_datetime(merged['DEATH_DATE'])
merged['Date of Last Contact-Date'] = pd.to_datetime(merged['Date of Last Contact-Date'])
if 'Date of Diagnosis' in merged.columns:
merged['Date of Diagnosis'] = pd.to_datetime(merged['Date of Diagnosis'])
merged['Date of Diagnosis'] = pd.NaT
# Calculate date shift relative to 1800/01/01
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