Reputation: 167
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?'
Code I attempted:
adata['prediction'].replace('singlet').astype(float)
Upvotes: 0
Views: 51