datatable.Frame.to_arrow()¶
to_arrow
()
Convert this frame into a pyarrow.Table
object. The pyarrow
module must be installed.
The conversion is multi-threaded and done in C++, but it does involve creating a copy of the data, except for the cases when the data was originally imported from Arrow. This is caused by differences in the data storage formats of datatable and Arrow.
Parameters¶
return
pyarrow.Table
A Table
object is always returned, even if the source is a
single-column datatable Frame.
except
ImportError
If the pyarrow
module is not installed.
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.