python remove comma code example
Example 1: remove comma from string python column
df['x']=df['x'].str.replace(',','')
Example 2: remove commas from string python
s = s.replace(',', '')
df['x']=df['x'].str.replace(',','')
s = s.replace(',', '')