arrow_array {arrow} | R Documentation |
Create an Arrow Array
Description
Create an Arrow Array
Usage
arrow_array(x, type = NULL)
Arguments
x |
An R object representable as an Arrow array, e.g. a vector, list, or |
type |
An optional data type for |
Examples
my_array <- arrow_array(1:10)
# Compare 2 arrays
na_array <- arrow_array(c(1:5, NA))
na_array2 <- na_array
na_array2 == na_array # element-wise comparison
[Package arrow version 16.1.0 Index]