class_docstr: ArrowDatasetTest
class_docstr_tok: ["ArrowDatasetTest"]
docstr: test_stream_from_pandas_repeat
code: def test_stream_from_pandas_repeat(self):
      """test_stream_from_pandas_repeat"""
      import tensorflow_io.arrow as arrow_io
  
      batch_data = TruthData(
          self.scalar_data, self.scalar_dtypes, self.scalar_shapes
      )
  
      batch = self.make_record_batch(batch_data)
      df = batch.to_pandas()
  
      num_repeat = 10
  
      dataset = arrow_io.ArrowStreamDataset.from_pandas(
          df, batch_size=2, preserve_index=False
      ).repeat(num_repeat)
  
      # patch columns attr so run_test_case can use
      dataset.columns = list(range(len(batch_data.output_types)))
  
      truth_data = TruthData(
          [d * num_repeat for d in batch_data.data],
          batch_data.output_types,
          batch_data.output_shapes,
      )
  
      self.run_test_case(dataset, truth_data, batch_size=2)
  
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 14 for calling the ArrowDatasetTest obj's underlying member method code with example usage: obj.test_stream_from_pandas_repeat() without return types