From 00ee8f22c6250d906879974d140aff132eea325b Mon Sep 17 00:00:00 2001 From: Matthew McDermott Date: Sun, 19 May 2024 19:00:35 -0400 Subject: [PATCH] Setting global string cache --- scripts/extraction/merge_to_MEDS_cohort.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/extraction/merge_to_MEDS_cohort.py b/scripts/extraction/merge_to_MEDS_cohort.py index 0c941ee..be922e2 100755 --- a/scripts/extraction/merge_to_MEDS_cohort.py +++ b/scripts/extraction/merge_to_MEDS_cohort.py @@ -12,6 +12,8 @@ from MEDS_polars_functions.mapper import wrap as rwlock_wrap from MEDS_polars_functions.utils import hydra_loguru_init +pl.enable_string_cache() + def read_fn(sp_dir: Path) -> pl.LazyFrame: dfs = []