remove comma from string python column

df['x']=df['x'].str.replace(',','')

Here is what the above code is Doing:
1. We are using the .str.replace() method to replace all the commas in the ‘x’ column with nothing.
2. We are using the .str.replace() method to replace all the commas in the ‘y’ column with nothing.
3. We are using the .str.replace() method to replace all the commas in the ‘z’ column with nothing.
4. We are using the .str.replace() method to replace all the commas in the ‘user_name’ column with nothing.
5. We are using the .str.replace() method to replace all the commas in the ‘country’ column with nothing.