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
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…