hi
i have a data frame that this df have a nested list and i want to unnset this all df . when
unnest_wider() function i get an error .
how to resolve this error or you have any idea for tidy this df?
df <- tibble(
a = list(c("a", "b"), "c"),
b = list(1:2,list(c("d", "f"))),
c = c(11, 22)
)
Error in col_to_wide():
! Can't combine ..1$...1 and ..3$...1 .
So the first row should have 5 columns, and the bottom row should have 4 columns ? Does alignment matter because data.frames have to be rectangular and 5 and 4 columns would not be...