Skip to main content

arrow_record_batch_to_pybytes

Function arrow_record_batch_to_pybytes 

Source
pub fn arrow_record_batch_to_pybytes(
    py: Python<'_>,
    batch: &RecordBatch,
) -> PyResult<Py<PyBytes>>
Expand description

Transforms the given record batch into Python bytes.

ยงErrors

Returns a PyErr if writing the Arrow IPC stream fails.