code: def test_table_iter():
      nr, nc = 50, 3
      arrays = np.random.default_rng().random((nr, nc))
      table = pv.Table(arrays)
      for i, array in enumerate(table):
          assert np.allclose(array, arrays[:, i])
  
file_path: pyvista/tests/core/test_objects.py
imports: import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 7 for calling a global function with example usage: test_table_iter() without return types