pyarrow.ipc.get_record_batch_size

pyarrow.ipc.get_record_batch_size(RecordBatch batch)

Return total size of serialized RecordBatch including metadata and padding.