code: def test_deserialize_pandas_arrow_7956():
      df = pd.DataFrame(
          {
              "a": np.arange(10000),
              "b": [test_util.rands(5) for _ in range(10000)],
          }
      )
  
      def action():
          df_bytes = pa.ipc.serialize_pandas(df).to_pybytes()
          buf = pa.py_buffer(df_bytes)
          pa.ipc.deserialize_pandas(buf)
  
      # Abort at 128MB threshold
      test_util.memory_leak_check(
          action, threshold=1 << 27, iterations=100
      )
  
imports: import pytest
  import numpy
  import pyarrow
  import pyarrow.tests.util
label_desc: Use image node_id 1 for calling a global function with example usage: test_deserialize_pandas_arrow_7956() without return types