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