Posts by felipe bonifacio • 9 points
1 post
-
-1
votes1
answer24
viewsQ: Removing non-numerical value from a dataframe
My intention is to remove the values that appear with '...' as shown above and replace with an empty field. The code I’m using to try to remove is this: df['Energy Supply'].str.replace('[.]*', '')…