Ersetzen von Werten in Pandas DataFrame
df['coloum'] = df['coloum'].replace(['value_1','valu_2'],'new_value')
JAKKA9
df['coloum'] = df['coloum'].replace(['value_1','valu_2'],'new_value')
df["column1"].replace({"a": "x", "b": "y"}, inplace=True)
df.column = df.coloumn.replace('old_value', 'new_value')