DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+1 =
Submit