class_docstr: ArrowDatasetTest
class_docstr_tok: ["ArrowDatasetTest"]
docstr: test_arrow_dataset
code: def test_arrow_dataset_with_strings(self):
      """test_arrow_dataset"""
      import tensorflow_io.arrow as arrow_io
  
      scalar_data = [
          [b"1.1", b"2.2", b"3.3", b"4.4"],
      ]
      scalar_dtypes = (tf.dtypes.string,)
      scalar_shapes = tuple(tf.TensorShape([]) for _ in scalar_dtypes)
      truth_data = TruthData(scalar_data, scalar_dtypes, scalar_shapes)
  
      batch = self.make_record_batch(truth_data)
  
      # test all columns selected
      dataset = arrow_io.ArrowDataset.from_record_batches(
          batch, truth_data.output_types, truth_data.output_shapes
      )
      self.run_test_case(dataset, truth_data)
  
imports: from collections import namedtuple
  import io
  import os
  import socket
  import tempfile
  import threading
  import pytest
  import pyarrow
  import numpy.testing
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 4 for calling the ArrowDatasetTest obj's underlying member method code with example usage: obj.test_arrow_dataset_with_strings() without return types