pyarrow.ipc.get_record_batch_size

pyarrow.ipc.get_record_batch_size(RecordBatch batch)

Return total size of serialized RecordBatch including metadata and padding.

Parameters
batchRecordBatch

The recordbatch for which we want to know the size.