Trait deltalake::arrow::pyarrow::IntoPyArrow

source ·
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§

source

fn into_pyarrow(self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>

Implementations on Foreign Types§

source§

impl IntoPyArrow for Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>

Convert a RecordBatchReader into a pyarrow.RecordBatchReader.

Implementors§

source§

impl IntoPyArrow for ArrowArrayStreamReader

Convert a ArrowArrayStreamReader into a pyarrow.RecordBatchReader.

source§

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