pyarrow.get_record_batch_size

pyarrow.get_record_batch_size(RecordBatch batch)

Return total size of serialized RecordBatch including metadata and padding