ToPyArrow

Trait ToPyArrow 

Source
pub trait ToPyArrow {
    // Required method
    fn to_pyarrow<'py>(
        &self,
        py: Python<'py>,
    ) -> Result<Bound<'py, PyAny>, PyErr>;
}
Expand description

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

Required Methods§

Source

fn to_pyarrow<'py>(&self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>

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

Implementations on Foreign Types§

Source§

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

Source§

fn to_pyarrow<'py>(&self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>

Implementors§