Skip to main content

Module recordbatch

Module recordbatch 

Source

StructsΒ§

RecordBatch
A two-dimensional batch of column-oriented data with a defined schema.

FunctionsΒ§

fixed_width_slice_memory_size πŸ”’
Returns len * byte_width + validity_size, or None on overflow.
flat_slice_memory_size πŸ”’
Computes array.to_data().get_slice_memory_size() for flat arrays without building the ArrayData.
logical_column_memory_size πŸ”’
Returns Arrow’s logical slice memory size of a single column.
merge_record_batches
merge multiple recordbatch into a single
offset_slice_memory_size πŸ”’
Returns (len + 1) * offset_width + (offsets[len] - offsets[0]) + validity_size, or None on overflow.