Answers for "split 20% of dataframe in r"

R
2

how to split a column in r

library(tidyverse)
df <- df %>% separate(old_col_name, c('new_col_1','new_col_2'), extra='drop')
Posted by: Guest on April-08-2021

Browse Popular Code Answers by Language