Znajdź i wymień String DataFrame
df['range'] = df['range'].str.replace(',','-')
Real Raccoon
df['range'] = df['range'].str.replace(',','-')
df['column'] = df['column'].str.replace(',','-')
df
df['coloum'] = df['coloum'].replace(['value_1','valu_2'],'new_value')
# this will replace "Boston Celtics" with "Omega Warrior"
df.replace(to_replace ="Boston Celtics",
value ="Omega Warrior")
df.loc[df['column'] == 'column_value', 'column'] = 'new_column_value'