pub trait IntoPyArrow {
// Required method
fn into_pyarrow(self, py: Python<'_>) -> PyResult<PyObject>;
}
Expand description
Convert an arrow-rs type into a PyArrow object.
Required Methods§
Sourcefn into_pyarrow(self, py: Python<'_>) -> PyResult<PyObject>
fn into_pyarrow(self, py: Python<'_>) -> PyResult<PyObject>
Convert the implemented type into a Python object while consuming it.
Implementations on Foreign Types§
Source§impl IntoPyArrow for Box<dyn RecordBatchReader + Send>
impl IntoPyArrow for Box<dyn RecordBatchReader + Send>
Convert a RecordBatchReader
into a pyarrow.RecordBatchReader
.
fn into_pyarrow(self, py: Python<'_>) -> PyResult<PyObject>
Implementors§
impl IntoPyArrow for ArrowArrayStreamReader
Convert a ArrowArrayStreamReader
into a pyarrow.RecordBatchReader
.