infer_nanoarrow_ptype | R Documentation |
Resolves the default to
value to use in convert_array()
and
convert_array_stream()
. The default conversions are:
infer_nanoarrow_ptype(x)
x |
A nanoarrow_schema, nanoarrow_array, or nanoarrow_array_stream. |
null to vctrs::unspecified()
boolean to logical()
int8, uint8, int16, uint16, and int13 to integer()
uint32, int64, uint64, float, and double to double()
string and large string to character()
struct to data.frame()
binary and large binary to blob::blob()
list, large_list, and fixed_size_list to vctrs::list_of()
time32 and time64 to hms::hms()
duration to difftime()
date32 to as.Date()
timestamp to as.POSIXct()
Additional conversions are possible by specifying an explicit value for
to
. For details of each conversion, see convert_array()
.
An R vector of zero size describing the target into which the array should be materialized.
infer_nanoarrow_ptype(as_nanoarrow_array(1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.