ValueError: could not convert string to float: 'singlet'

Viewed 20

I have this data in csv file which a column has string value (prediction column). How do I rectify the ValueError so that I can read the file?'enter image description here

Code I attempted:

adata['prediction'].replace('singlet').astype(float)
0 Answers
Related