I want to change one data frame value i.e 2,67% to 2.67% and need to convert it into float but it is giving me error
I have tried using below statement but it doesn't work
df.str.replace(' , ' , ' . ').astype(float)
It gives me error TypeError: could not convert string to float
1.4m articles
1.4m replys
5 comments
57.0k users