How to replace the ‘,’ between two numbers like X,X% into X.X% in all the dataframe python

I have a column in pandas data frame like below. Column name is 'ingredients_text' enter image description here

Now I want to replace all the values like 5,5% to 5.5% in this column in all the dataframe.



Read more here: https://stackoverflow.com/questions/67002129/how-to-replace-the-between-two-numbers-like-x-x-into-x-x-in-all-the-datafr

Content Attribution

This content was originally published by Yoss at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: