how to change the values of a column in pandas using apply function code example Example: replace column values pandas df['column'] = df['column'].str.replace(',','-') df