Open sinanugur opened 2 months ago
I tried to reproduce with Visium HD data and I report the following:
np.nan
worksnp.nan
values gives an error. I have tried both when the column is in a table.obs
and when the column is directly in the GeoDataFrame
.
nan
value is in table.obs
I get your errornan
value is in a column of the GeoDataFrame
, the plot fails with a different error.nan
value in a continuous column. I report the following:
nan
value is in table.obs
, no exception is raised but the plot looks all gray (while it should not). So it still fails.nan
value is in a column of the GeoDataFrame
, the plot fails (with the same error for the categorical case for dataframe columns).Actionable for @sinanugur. I suggest to remove the rows with nan
values for the moment.
Actionable for us. I suggest to support the handing of nan
values and add the following tests:
nan
values in table.obs
columns (both categorical and continous).nan
values in table.X
nan
values in the dataframe column (both categorical and continous)Thank you so much for the triage @LucaMarconato! ❤️
Hi,
When the "color" is categorical, it crashes and returns ValueError in version 0.2.6. The categorial "test" column contains NaN values. There are 11 possible categories.
This code was working perfectly in version 0.2.4.
Cheers,