Closed emmanuel-contreras closed 1 month ago
This PR fixes the issue in sm.tl.phenotype_cells where Unknows cells get a dtype of np.str_ which is inconsistent with other phenotype labels having a dtype of str which results in an error in sklearn due to mismatched dtypes.
sm.tl.phenotype_cells
np.str_
str
Thank you so much @emmanuel-contreras
This PR fixes the issue in
sm.tl.phenotype_cells
where Unknows cells get a dtype ofnp.str_
which is inconsistent with other phenotype labels having a dtype ofstr
which results in an error in sklearn due to mismatched dtypes.