Keep % format of float values

前端 未结 3 1964
名媛妹妹
名媛妹妹 2021-01-29 02:23

How do you keep your float in the % format?

df[\'growth_rate\'] = df[\'growth_rate\'].replace(\'%\', \'\', regex=True).astype(float, errors=\'ignore         


        
3条回答
提交回复
热议问题