From 9be086b1e80e266a9e135f584733a3d93ab87138 Mon Sep 17 00:00:00 2001 From: Isaiah Norton Date: Wed, 2 Dec 2020 16:39:19 -0500 Subject: [PATCH] Use sparse=True for from_pandas (#1994) --- server/common/annotations/hosted_tiledb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/common/annotations/hosted_tiledb.py b/server/common/annotations/hosted_tiledb.py index 4922400d..c096d568 100644 --- a/server/common/annotations/hosted_tiledb.py +++ b/server/common/annotations/hosted_tiledb.py @@ -144,7 +144,7 @@ class AnnotationsHostedTileDB(Annotations): for col in df: df[col] = df[col].astype(get_dtype_of_array(df[col])) - tiledb.from_pandas(uri, df) + tiledb.from_pandas(uri, df, sparse=True) else: uri = ""