code: def _simple_table_write_read(table):
      bio = pa.BufferOutputStream()
      pq.write_table(table, bio)
      contents = bio.getvalue()
      return pq.read_table(pa.BufferReader(contents))
  
imports: import decimal
  import io
  import numpy
  import pytest
  import pyarrow
  from pyarrow.tests import util
  from pyarrow.tests.parquet.common import _check_roundtrip
label_desc: Use image node_id 3 for calling a global function with example usage: _simple_table_write_read(table) and returns: pq