code: def test_convert_dask_to_pd_multiindex():
      """Tests back-conversion from dask to pandas is correct for MultiIndex."""
      from dask.dataframe import from_pandas
  
      pd_fixture = pd.DataFrame(
          {
              "__index__a": [1, 2, 3],
              "__index__1": [1, 2, 3],
              "a": [2, 3, 4],
          }
      )
      pd_fixture_orig = deepcopy(pd_fixture)
      dask_fixture = from_pandas(pd_fixture, npartitions=1)
  
      result = convert_dask_to_pandas(dask_fixture)
  
      # tests absence of side effects
      assert pd_fixture.equals(pd_fixture_orig)
  
      # test expected output format
      assert result.index.names == ["a", None]
      assert result.columns == ["a"]
      assert (result.values == pd_fixture[["a"]].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 1 for calling a global function with example usage: test_convert_dask_to_pd_multiindex() without return types