Ganti nilai kolom panda
df['column'] = df['column'].str.replace(',','-')
df
Better Badger
df['column'] = df['column'].str.replace(',','-')
df
df['coloum'] = df['coloum'].replace(['value_1','valu_2'],'new_value')
df.loc[df['column'] == 'column_value', 'column'] = 'new_column_value'
df["column1"].replace({"a": "x", "b": "y"}, inplace=True)
data$cens.type <- NA #crate column with NAs
data$cens.type[data$type=="exact"] <- 1
#put 1 for every "exact" in column type