code: def _new_record_batch(values):
      sequence = pa.array(values)
      return pa.RecordBatch.from_arrays(
          [sequence, sequence], ["a", "b"]
      )
  
file_path: petastorm/petastorm/pyarrow_helpers/tests/test_batch_buffer.py
imports: import numpy
  import pyarrow
  from petastorm.pyarrow_helpers.batching_table_queue import BatchingTableQueue
label_desc: Use image node_id 1 for calling a global function with example usage: _new_record_batch(values) and returns: pa