code: def test_frame_iloc_setitem(self):
      pdf = pd.DataFrame(
          [[1, 2], [4, 5], [7, 8]],
          index=["cobra", "viper", "sidewinder"],
          columns=["max_speed", "shield"],
      )
      psdf = ps.from_pandas(pdf)
  
      pdf.iloc[[1, 2], [1, 0]] = 10
      psdf.iloc[[1, 2], [1, 0]] = 10
      self.assert_eq(psdf, pdf)
  
      pdf.iloc[0, 1] = 50
      psdf.iloc[0, 1] = 50
      self.assert_eq(psdf, pdf)
  
      with self.assertRaisesRegex(
          ValueError, "setting an array element with a sequence."
      ):
          psdf.iloc[0, 0] = -psdf.max_speed
      with self.assertRaisesRegex(ValueError, "shape mismatch"):
          psdf.iloc[:, [1, 0]] = -psdf.max_speed
      with self.assertRaisesRegex(
          ValueError, "Only a dataframe with one column can be assigned"
      ):
          psdf.iloc[:, 0] = psdf
  
      pdf = pd.DataFrame(
          [[1], [4], [7]],
          index=["cobra", "viper", "sidewinder"],
          columns=["max_speed"],
      )
      psdf = ps.from_pandas(pdf)
  
      pdf.iloc[:, 0] = pdf
      psdf.iloc[:, 0] = psdf
      self.assert_eq(psdf, pdf)
  
imports: import unittest
  import numpy
  import pandas
  from pyspark import pandas
  from pyspark.pandas.exceptions import SparkPandasIndexingError, SparkPandasNotImplementedError
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 10 for calling the IndexingILocMixin obj's underlying member method code with example usage: obj.test_frame_iloc_setitem() without return types