[python] TileDB-SOMA-Py should map None
, pd.NA
, and math.nan
in string columns to null values
#2861
Labels
None
, pd.NA
, and math.nan
in string columns to null values
#2861
Split out from #2858.
Here is a repro script:
https://gist.github.com/johnkerl/de55bd74b146b19a7915c5aee9914752
Here is a readback script:
https://gist.github.com/johnkerl/20e0ad08701f5913f90be706ecd99b01
Notes:
["", "B cell", "T cell", None, pd.NA, math.nan]
"None"
,"<NA>"
, and"nan"
None
,pd.NA
, andmath.nan
in string data to core nulls in TileDB storageNote: this is for Pandas data. For Arrow nulls --
tiledbsoma.Experiment.add_new_dataframe
rather thantiledbsoma.io.from_anndata
/tiledbsoma.io.from_h5ad
-- please see #2858 where I'll create a separate issue to track.The text was updated successfully, but these errors were encountered: