Trait arrow_extendr::to::ToArrowRobj
source · pub trait ToArrowRobj {
// Required method
fn to_arrow_robj(&self) -> Result<Robj>;
}
Expand description
Convert an Arrow struct to an Robj
Does not consume self
. Takes an arrow-rs struct and converts it into
a {nanoarrow}
S3 object of class nanoarrow_array
, nanoarrow_array_stream
, or nanoarrow_schema
.
Requires nanoarrow
to be available.