Combines objects vertically by stacking rows. For tbl_gpu objects, operations are performed on the GPU. For other objects, delegates to dplyr.
Arguments
- ...
Objects to bind (tbl_gpu, data.frame, or lists of these, flattened as in
dplyr::bind_rows()).NULLs are dropped.- .id
Optional column name to identify source tables
Details
If any input (including one inside a list) is a tbl_gpu, the result is a
tbl_gpu, wherever the tbl_gpu sits in the arguments. The exception is a
data frame input with a list or data frame column, which has no GPU form:
then dplyr binds the inputs on the CPU and the result is its data frame,
with the first input's class and groups and the .id column. A matrix
column with more than one column raises an error that names it.
dplyr::bind_rows()
and purrr::map_dfr() on a tbl_gpu input are handed to this function and
give the same result; vctrs::vec_rbind() and purrr::list_rbind() can't
be intercepted and raise an error for a tbl_gpu (use
dplyr::bind_rows(list) instead of list_rbind()).
