grepl

Rs mutate() and grepl() in Python

Rs mutate() and grepl() in Python Question: I have a column in a dataset that lists all of the softwares that a given computer has installed. I have created multiple binary columns from this column so each software has its own column. My R code is below: data <- data %>% mutate(MS_Office_installed = ifelse(grepl("MS Office", …

Total answers: 1