spatialdata
spatialdata copied to clipboard
`join_sdata_spatialelement_table()` fails with non-unique `AnnData` obs
When the AnnData object has obs that are not unique the join will fail because code like this table[joined_indices, :] require unique indices.
I think we should
- [ ] modify the function
_get_joined_table_indices()to return numerical indices - [ ] in general modify the
locin dataframes and the use of obs indices in anndata to useilocand numerical indices instead
To test:
- make a table with some rows and
obs.indexnot unique - compute a left join