# NOT RUN {
as_cell_df(iris)
# consider column name as cell
as_cell_df(iris, take_col_names = TRUE)
# if the data is already in a similar format it will not further transform
# which is not true for ---> unpivotr::as_cells
# check ---> unpivotr::as_cells(iris) %>% unpivotr::as_cells()
unpivotr::as_cells(iris) %>% as_cell_df()
# }
Run the code above in your browser using DataLab