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