pytohn data frame replace all string values code example Example: find and replace string dataframe df['range'] = df['range'].str.replace(',','-')