code: def test_table_implicit_types():
      table = wandb.Table(columns=["col"])
      table.add_data(None)
      table.add_data(1)
      with pytest.raises(TypeError):
          table.add_data("a")
  
      table = wandb.Table(columns=["col"], optional=False)
      with pytest.raises(TypeError):
          table.add_data(None)
      table.add_data(1)
      with pytest.raises(TypeError):
          table.add_data("a")
  
imports: import datetime
  import numpy
  import pytest
  import wandb
  from wandb import data_types
  from wandb.sdk.data_types._dtypes import AnyType, BooleanType, ConstType, InvalidType, ListType, NoneType, NumberType, OptionalType, StringType, TimestampType, TypedDictType, TypeRegistry, UnionType, UnknownType
label_desc: Use image node_id 20 for calling a global function with example usage: test_table_implicit_types() without return types