Trait re_viewer::external::re_chunk_store::external::arrow::pyarrow::IntoPyArrow
pub trait IntoPyArrow {
// Required method
fn into_pyarrow(self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>;
}
Expand description
Convert an arrow-rs type into a PyArrow object.
Required Methods§
fn into_pyarrow(self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>
fn into_pyarrow(self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>
Convert the implemented type into a Python object while consuming it.
Implementations on Foreign Types§
§impl IntoPyArrow for Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>
impl IntoPyArrow for Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>
Convert a RecordBatchReader
into a pyarrow.RecordBatchReader
.
fn into_pyarrow(self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>
Implementors§
impl IntoPyArrow for ArrowArrayStreamReader
Convert a ArrowArrayStreamReader
into a pyarrow.RecordBatchReader
.