Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

how to split a column in r

library(tidyverse)
df <- df %>% separate(old_col_name, c('new_col_1','new_col_2'), extra='drop')
 
PREVIOUS NEXT
Tagged: #split #column
ADD COMMENT
Topic
Name
8+8 =