Answers for "remove percentage in python"

0

remove percentage in python

df['col'] = df['col'].str.rstrip('%').astype('float') / 100.0
Posted by: Guest on January-15-2022

Python Answers by Framework

Browse Popular Code Answers by Language