class_docstr: ArrowDatasetTest
class_docstr_tok: ["ArrowDatasetTest"]
docstr: test_arrow_feather_dataset_string
code: def test_arrow_feather_dataset_string(self):
      """test_arrow_feather_dataset_string"""
      import tensorflow_io.arrow as arrow_io
  
      from pyarrow import feather as pa_feather
      import pyarrow as pa
      import numpy as np
      import random
      import string
  
      data = [
          "".join(random.choice(string.printable) for _ in range(10000))
      ]
      table = pa.Table.from_arrays(
          [data], schema=pa.schema([("data", pa.string())])
      )
  
      chunk_size = 1000
      with tempfile.NamedTemporaryFile(delete=False) as f:
          pa_feather.write_feather(table, f, chunksize=chunk_size)
  
      dataset = arrow_io.ArrowFeatherDataset(
          f.name,
          columns=(0,),
          output_types=(tf.string),
          output_shapes=([]),
          batch_size=32,
      )
      print(dataset.element_spec)
      sample = next(iter(dataset))
      assert sample.shape == [1]
      assert sample.dtype == tf.string
      assert np.all(sample == data[0])
      print(sample.dtype, sample.shape)
  
      os.unlink(f.name)
  
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 32 for calling the ArrowDatasetTest obj's underlying member method code with example usage: obj.test_arrow_feather_dataset_string() without return types