From 7059786198662ba5c3a7b92fb8f6e96758d2c10e Mon Sep 17 00:00:00 2001 From: vkt1414 Date: Tue, 30 Apr 2024 09:48:35 -0400 Subject: [PATCH] enh: do not change nulls to empty spaces --- idc_index/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idc_index/index.py b/idc_index/index.py index eb68cc45..139640d9 100644 --- a/idc_index/index.py +++ b/idc_index/index.py @@ -27,7 +27,7 @@ def __init__(self): # Read index file logger.debug(f"Reading index file v{idc_index_data.__version__}") self.index = pd.read_parquet(file_path) - self.index = self.index.astype(str).replace("nan", "") + # self.index = self.index.astype(str).replace("nan", "") self.index["series_size_MB"] = self.index["series_size_MB"].astype(float) self.collection_summary = self.index.groupby("collection_id").agg( {"Modality": pd.Series.unique, "series_size_MB": "sum"}