code: def test_multi_index_dtypes(self):
      # SPARK-36930: Support ps.MultiIndex.dtypes
      arrays = [[1, 1, 2, 2], ["red", "blue", "red", "blue"]]
      pmidx = pd.MultiIndex.from_arrays(
          arrays, names=("number", "color")
      )
      psmidx = ps.from_pandas(pmidx)
  
      self.assert_eq(psmidx.dtypes, pmidx.dtypes)
  
      # multiple labels
      pmidx = pd.MultiIndex.from_arrays(
          arrays, names=[("zero", "first"), ("one", "second")]
      )
      psmidx = ps.from_pandas(pmidx)
  
      self.assert_eq(psmidx.dtypes, pmidx.dtypes)
  
imports: from datetime import datetime
  import unittest
  import numpy
  import pandas
  from pyspark import pandas
  from pyspark.testing.pandasutils import ComparisonTestBase
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 5 for calling the FrameAttrsMixin obj's underlying member method code with example usage: obj.test_multi_index_dtypes() without return types