Znajdź i wymień String DataFrame
df['range'] = df['range'].str.replace(',','-')
Real Raccoon
df['range'] = df['range'].str.replace(',','-')
df['prod_type'] = df['prod_type'].replace({'respon':'responsive', 'r':'responsive'})
>>> pd.Series(['foo', 'fuz', np.nan]).str.replace('f.', 'ba', regex=True)
0 bao
1 baz
2 NaN
dtype: object