code: def test_invalid_column_raises_error(self):
      ds = ray.data.from_items([{"spam": 0, "ham": 0}])
      with pytest.raises(ValueError):
          ds.to_tf(feature_columns="foo", label_columns="bar")
  
file_path: ray/python/ray/data/tests/test_tf.py
imports: import numpy
  import pandas
  import pytest
  import tensorflow
  import ray
  from ray import train
  from ray.data.preprocessors import Concatenator
  from ray.train import ScalingConfig
  from ray.train.tensorflow import TensorflowTrainer
label_desc: Use image node_id 10 for calling the TestToTF obj's underlying member method code with example usage: obj.test_invalid_column_raises_error() without return types