From 2bdbd44c417c2d86137bd59c36934039c02c4ccb Mon Sep 17 00:00:00 2001 From: ycq091044 Date: Thu, 2 May 2024 01:22:10 -0500 Subject: [PATCH] fix minor bugs in omop.py --- pyhealth/datasets/omop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyhealth/datasets/omop.py b/pyhealth/datasets/omop.py index 378bc5c7..518de1b9 100644 --- a/pyhealth/datasets/omop.py +++ b/pyhealth/datasets/omop.py @@ -226,6 +226,7 @@ def condition_unit(p_info): ) # update patients events.append(event) + return events # parallel apply group_df = group_df.parallel_apply(lambda x: condition_unit(x))