-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tabular tracker and fix doughnut variable names #76
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a bit more documentation on the logic flow.
All good otherwise!
|
||
def loading_func(df): | ||
if COL_UPDRS3 in df.columns: | ||
print(f'Filtering {COL_UPDRS3}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not urgent, but switch to logger?
# find subjects with multiple age entries for the same visit | ||
groups = df.groupby([COL_SUBJECT_TABULAR, COL_VISIT_TABULAR])[COL_AGE] | ||
counts = groups.count() | ||
records_with_multiple_ages = counts[counts > 1].index.unique() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add what we mean by record
in the docs.
Closes #75.
Also formats the tabular bagel to the format accepted by the dashboard.