replace charchters in string in a dataframe column code example Example: find and replace string dataframe df['range'] = df['range'].str.replace(',','-')