Canva interview question

Split a data frame into batches.