code: def test_dont_infer_specified_column_types():
      column_types = copy.copy(test_utils.COLUMN_TYPES)
      column_types.pop("sex")
      column_types["age"] = "categorical"
  
      analyser = input_analysers.StructuredDataAnalyser(
          column_names=test_utils.COLUMN_NAMES,
          column_types=column_types,
      )
      x = pd.read_csv(test_utils.TRAIN_CSV_PATH)
      x.pop("survived")
      dataset = tf.data.Dataset.from_tensor_slices(
          x.values.astype(str)
      ).batch(32)
  
      for data in dataset:
          analyser.update(data)
      analyser.finalize()
  
      assert analyser.column_types["age"] == "categorical"
  
file_path: autokeras/autokeras/analysers/input_analysers_test.py
imports: import copy
  import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.analysers import input_analysers
label_desc: Use image node_id 3 for calling a global function with example usage: test_dont_infer_specified_column_types() without return types