pub trait ToPyArrow {
// Required method
fn to_pyarrow<'py>(&self, py: Python<'py>) -> PyResult<Bound<'py, PyAny>>;
}
Expand description
Create a new PyArrow object from a arrow-rs type.
Required Methods§
Sourcefn to_pyarrow<'py>(&self, py: Python<'py>) -> PyResult<Bound<'py, PyAny>>
fn to_pyarrow<'py>(&self, py: Python<'py>) -> PyResult<Bound<'py, PyAny>>
Convert the implemented type into a Python object without consuming it.