arrow::pyarrow

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<T: ToPyArrow> ToPyArrow for Vec<T>

Source§

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

Implementors§