A column has different values, one of which includes value *
.
I want to replace that with U
.
data looks something like this : col f f g h * t *
i
I have tried below options:
replace( df$col, "*", "U")
data$PROP_TYPE[df$col=='*'] <- 'U'
Both do not work