code: def arrow_to_buffer(self, table: pa.Table):
      b = io.BytesIO()
      writer = pa.RecordBatchFileWriter(b, table.schema)
      writer.write_table(table)
      writer.close()
      return b.getvalue()
  
imports: from typing import List, Optional
  import io, pyarrow, requests, sys
  from graphistry.privacy import Mode, Privacy
  from .ArrowFileUploader import ArrowFileUploader
  from .util import setup_logger
label_desc: Use image node_id 36 for calling the ArrowUploader obj's underlying member method code with example usage: obj.arrow_to_buffer(table) and returns: b