code: def test_ARROW_8801():
      x = pd.to_datetime(
          np.random.randint(0, 2**32, size=2**20),
          unit="ms",
          utc=True,
      )
      table = pa.table(pd.DataFrame({"x": x}))
  
      assert_does_not_leak(
          lambda: table.to_pandas(split_blocks=False),
          iterations=1000,
          check_interval=50,
          tolerance=1000,
      )
  
file_path: arrow/python/scripts/test_leak.py
imports: import pyarrow
  import numpy
  import pandas
  from pyarrow.tests.util import rands
  import memory_profiler
  import gc
  import io
label_desc: Use image node_id 5 for calling a global function with example usage: test_ARROW_8801() without return types