mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 17:18:11 +08:00
Use sparse=True for from_pandas (#1994)
This commit is contained in:
@@ -144,7 +144,7 @@ class AnnotationsHostedTileDB(Annotations):
|
|||||||
|
|
||||||
for col in df:
|
for col in df:
|
||||||
df[col] = df[col].astype(get_dtype_of_array(df[col]))
|
df[col] = df[col].astype(get_dtype_of_array(df[col]))
|
||||||
tiledb.from_pandas(uri, df)
|
tiledb.from_pandas(uri, df, sparse=True)
|
||||||
else:
|
else:
|
||||||
uri = ""
|
uri = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user