Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
IntoPyArrow in datafusion::common::arrow::pyarrow - Rust
[go: Go Back, main page]

Trait 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>

Convert the implemented type into a Python object while consuming it.

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,