pub trait IntoPyArrow {
// Required method
fn into_pyarrow<'py>(
self,
py: Python<'py>,
) -> Result<Bound<'py, PyAny>, PyErr>;
}Expand description
Convert an arrow-rs type into a PyArrow object.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl IntoPyArrow for Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>
Convert a RecordBatchReader into a pyarrow.RecordBatchReader.
impl IntoPyArrow for Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>
Convert a RecordBatchReader into a pyarrow.RecordBatchReader.
Implementors§
impl IntoPyArrow for ArrowArrayStreamReader
Convert a ArrowArrayStreamReader into a pyarrow.RecordBatchReader.
impl IntoPyArrow for Table
Convert a Table into pyarrow.Table.