code: def test_basic_ndx():
      # Base Case
      table_a = wandb.Table(columns=["b"], data=[["a"], ["b"]])
      table = wandb.Table(columns=["fi", "c"])
      for _ndx, _ in table_a.iterrows():
          table.add_data(_ndx, "x")
      assert all([row[0]._table == table_a for row in table.data])
  
      # Adding is supported
      table.add_data(3, "c")
      # Adding duplicates is supported
      table.add_data(3, "c")
      # Adding None isn't supported
      with pytest.raises(TypeError):
          table.add_data(None, "d")
  
      # Assert that the data in this column is valid, but also properly typed
      assert [row[0] for row in table.data] == [0, 1, 3, 3]
      assert all(
          [
              row[0] is None or row[0]._table == table_a
              for row in table.data
          ]
      )
  
file_path: wandb/tests/pytest_tests/unit_tests/test_tables.py
imports: import datetime
  import numpy
  import pytest
  import wandb
label_desc: Use image node_id 1 for calling a global function with example usage: test_basic_ndx() without return types