code: def test_convert_pd_multiindex_to_dask():
      """Tests conversion from pandas to dask is correct for MultiIndex."""
      pd_fixture = pd_fixture_multiindex.copy()
      pd_fixture_orig = deepcopy(pd_fixture)
      result = convert_pandas_to_dask(pd_fixture)
  
      # tests absence of side effects
      assert pd_fixture.equals(pd_fixture_orig)
  
      # test expected output format
      expected_cols = [
          "__index__a",
          "__index__1",
          "__index__foo",
          "a",
          "foo",
      ]
      assert list(result.columns) == expected_cols
      result_values = result.loc[:, ["a", "foo"]].compute().values
      assert (result_values == pd_fixture.values).all()
  
imports: from copy import deepcopy
  import pandas
  import pytest
  from sktime.datatypes._adapter.dask_to_pd import convert_dask_to_pandas, convert_pandas_to_dask
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 2 for calling a global function with example usage: test_convert_pd_multiindex_to_dask() without return types