r split column into multiple columns String code example
Example: r separate column into multiple columns
df %>%
separate(mainColumn,c('c1','c2'),'_',extra ='merge')
df %>%
separate(mainColumn,c('c1','c2'),'_',extra ='merge')