replace a column value code example Example: column.replace df.column = df.coloumn.replace('old_value', 'new_value')