Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BICF
KCE
kce_etl
Commits
2d66e0c7
Commit
2d66e0c7
authored
Aug 07, 2020
by
Venkat Malladi
Browse files
Update day to be 0701 if not available.
parent
18c523aa
Pipeline
#7827
failed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/transform_patients.py
View file @
2d66e0c7
...
...
@@ -64,7 +64,7 @@ def filter_table(demographics, tumor_registry):
if
tmp
.
shape
[
0
]
>
1
:
date
=
str
(
int
(
tmp
[
'Date of Diagnosis'
].
min
()))
if
len
(
date
)
==
4
:
date
=
date
+
'071
5
'
date
=
date
+
'07
0
1'
elif
len
(
date
)
==
6
:
date
=
date
+
'15'
df_merged
.
loc
[
df_merged
[
'MRN'
]
==
mrn
,
'Date of Diagnosis'
]
=
date
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment