code: def test_arrow_table_from_np(self):
      coldata = np.array(
          [
              [1.0, 1.0, 0.0, 0.0],
              [2.0, 0.0, 1.0, 0.0],
              [3.0, 0.0, 0.0, 1.0],
          ]
      )
      cols = list(map(pa.array, coldata))
      table = pa.Table.from_arrays(cols, ["a", "b", "c"])
      dm = xgb.DMatrix(table)
      assert dm.num_row() == 4
      assert dm.num_col() == 3
  
file_path: xgboost/tests/python/test_with_arrow.py
imports: import os
  import sys
  import numpy
  import pytest
  import xgboost
  from xgboost import testing
  from xgboost.core import DataSplitMode
label_desc: Use image node_id 3 for calling the TestArrowTable obj's underlying member method code with example usage: obj.test_arrow_table_from_np() without return types