code: def test_append_column(ray_start_regular_shared):
      animals = ["Flamingo", "Centipede"]
      num_legs = [2, 100]
      block = pa.Table.from_pydict({"animals": animals})
  
      block_accessor = ArrowBlockAccessor.for_block(block)
      actual_block = block_accessor.append_column("num_legs", num_legs)
  
      expected_block = pa.Table.from_pydict(
          {"animals": animals, "num_legs": num_legs}
      )
      assert actual_block.equals(expected_block)
  
file_path: ray/python/ray/data/tests/test_arrow_block.py
imports: import numpy
  import pyarrow
  import pytest
  import ray
  from ray._private.test_utils import run_string_as_driver
  from ray.data._internal.arrow_block import ArrowBlockAccessor
label_desc: Use image node_id 1 for calling a global function with example usage: test_append_column(ray_start_regular_shared) without return types