code: def test_iloc(self):
      pdf = pd.DataFrame({"A": [1, 2], "B": [3, 4], "C": [5, 6]})
      psdf = ps.from_pandas(pdf)
  
      self.assert_eq(psdf.iloc[0, 0], pdf.iloc[0, 0])
      for indexer in [
          0,
          [0],
          [0, 1],
          [1, 0],
          [False, True, True],
          slice(0, 1),
      ]:
          self.assert_eq(psdf.iloc[:, indexer], pdf.iloc[:, indexer])
          self.assert_eq(psdf.iloc[:1, indexer], pdf.iloc[:1, indexer])
          self.assert_eq(
              psdf.iloc[:-1, indexer], pdf.iloc[:-1, indexer]
          )
          # self.assert_eq(psdf.iloc[psdf.index == 2, indexer], pdf.iloc[pdf.index == 2, indexer])
  
      self.assertRaisesRegex(
          SparkPandasNotImplementedError,
          ".iloc requires numeric slice, conditional boolean",
          lambda: ps.range(10).iloc["a", :],
      )
  
imports: import datetime
  import unittest
  import numpy
  import pandas
  from pyspark import pandas
  from pyspark.pandas.exceptions import SparkPandasNotImplementedError
  from pyspark.testing.pandasutils import PandasOnSparkTestCase, compare_both
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 15 for calling the IndexingAdvMixin obj's underlying member method code with example usage: obj.test_iloc() without return types