Skip to main content

ToPyArrow

Trait ToPyArrow 

Source
pub trait ToPyArrow {
    // Required method
    fn to_pyarrow(&self, py: Python<'_>) -> PyResult<PyObject>;
}
Expand description

Create a new PyArrow object from a arrow-rs type.

Required Methods§

Source

fn to_pyarrow(&self, py: Python<'_>) -> PyResult<PyObject>

Convert the implemented type into a Python object without consuming it.

Implementations on Foreign Types§

Source§

impl ToPyArrow for DataType

Source§

impl ToPyArrow for RecordBatch

Source§

impl ToPyArrow for ArrayData

Source§

impl ToPyArrow for Field

Source§

impl ToPyArrow for Schema

Source§

impl<T: ToPyArrow> ToPyArrow for Vec<T>

Implementors§