Theas_arrow_array() function is identical toArray$create() exceptthat it is an S3 generic, which allows methods to be defined in otherpackages to convert objects toArray.Array$create() is slightly fasterbecause it tries to convert in C++ before falling back onas_arrow_array().
Usage
as_arrow_array(x,..., type=NULL)# S3 method for class 'Array'as_arrow_array(x,..., type=NULL)# S3 method for class 'Scalar'as_arrow_array(x,..., type=NULL)# S3 method for class 'ChunkedArray'as_arrow_array(x,..., type=NULL)Arguments
- x
An object to convert to an Arrow Array
- ...
Passed to S3 methods
- type
Atype for the final Array. A value of
NULLwill default to the type guessed byinfer_type().
Value
AnArray with typetype.