📜  如何在 - R 编程语言代码示例中拆分列

📅  最后修改于: 2022-03-11 14:52:00.942000             🧑  作者: Mango

代码示例1
library(tidyverse)
df <- df %>% separate(old_col_name, c('new_col_1','new_col_2'), extra='drop')