code: def serialize(self, rows):
      # Need to be able to serialize `None`. A bit hacky, but we use an empty buffer to encode 'None'.
      sink = pa.BufferOutputStream()
      writer = pa.RecordBatchStreamWriter(sink, rows.schema)
      writer.write_table(rows)
      writer.close()
      return sink.getvalue()
  
imports: import pyarrow
label_desc: Use image node_id 1 for calling the ArrowTableSerializer obj's underlying member method code with example usage: obj.serialize(rows) and returns: sink