code: def test_to_pandas(self):
      table = self.t_env.from_pandas(self.pdf, self.data_type)
      result_pdf = table.to_pandas()
      result_pdf.index = self.pdf.index
      self.assertEqual(2, len(result_pdf))
      expected_arrow = self.pdf.to_records(index=False)
      result_arrow = result_pdf.to_records(index=False)
      for r in range(len(expected_arrow)):
          for e in range(len(expected_arrow[r])):
              self.assert_equal_field(
                  expected_arrow[r][e], result_arrow[r][e]
              )
  
imports: import datetime
  import decimal
  from pandas.testing import assert_frame_equal
  from pyflink.common import Row
  from pyflink.table.types import DataTypes
  from pyflink.testing import source_sink_utils
  from pyflink.testing.test_case_utils import PyFlinkBatchTableTestCase, PyFlinkStreamTableTestCase
label_desc: Use image node_id 2 for calling the PandasConversionITTests obj's underlying member method code with example usage: obj.test_to_pandas() without return types