class_docstr: ArrowDatasetTest
class_docstr_tok: ["ArrowDatasetTest"]
docstr: Test batch_size that drops remainder data
code: def test_batch_drop_remainder(self):
      """Test batch_size that drops remainder data"""
      import tensorflow_io.arrow as arrow_io
  
      batch_size = len(self.scalar_data[0]) - 1
  
      truth_data = TruthData(
          self.scalar_data, self.scalar_dtypes, self.scalar_shapes
      )
  
      batch = self.make_record_batch(truth_data)
      df = batch.to_pandas()
  
      truth_data_drop_last = TruthData(
          [d[:-1] for d in truth_data.data],
          truth_data.output_types,
          truth_data.output_shapes,
      )
  
      dataset = arrow_io.ArrowDataset.from_pandas(
          df,
          preserve_index=False,
          batch_size=batch_size,
          batch_mode="drop_remainder",
      )
      self.run_test_case(
          dataset, truth_data_drop_last, batch_size=batch_size
      )
  
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 21 for calling the ArrowDatasetTest obj's underlying member method code with example usage: obj.test_batch_drop_remainder() without return types