code: def test_structured_data_input_transform_to_dataset():
      x = tf.data.Dataset.from_tensor_slices(
          pd.read_csv(test_utils.TRAIN_CSV_PATH).to_numpy().astype(str)
      )
      adapter = input_adapters.StructuredDataAdapter()
  
      x = adapter.adapt(x, batch_size=32)
  
      assert isinstance(x, tf.data.Dataset)
  
file_path: autokeras/autokeras/adapters/input_adapters_test.py
imports: import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.adapters import input_adapters
  from autokeras.utils import data_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_structured_data_input_transform_to_dataset() without return types