| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../../cpp/../r/news/../reference/arrow_array.html | [Back] [Original] |
Create an Arrow Array
An R object representable as an Arrow array, e.g. a vector, list, or data.frame.
An optional data type for x. If omitted, the type will be inferred from the data.
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
#> Array
#> <bool>
#> [
#> true,
#> true,
#> true,
#> true,
#> true,
#> null
#> ]
| Web Proxy Viewer | New URL | Original Page |