class_docstr: Test for the PandasInterface.
code: def test_dataset_from_multi_index_tuple_dims(self):
      df = pd.DataFrame(
          {
              "x": np.arange(10),
              "y": np.arange(10),
              "z": np.random.rand(10),
          }
      )
      ds = Dataset(
          df.groupby(["x", "y"]).mean(), [("x", "X"), ("y", "Y")]
      )
      self.assertEqual(ds, Dataset(df, [("x", "X"), ("y", "Y")]))
  
imports: import numpy
  import pandas
  from holoviews.core.data import Dataset
  from holoviews.core.data.interface import DataError
  from holoviews.core.dimension import Dimension
  from holoviews.core.spaces import HoloMap
  from holoviews.element import Distribution, Points, Scatter
  from .base import HeterogeneousColumnTests, InterfaceTests
label_desc: Use image node_id 24 for calling the BasePandasInterfaceTests obj's underlying member method code with example usage: obj.test_dataset_from_multi_index_tuple_dims() without return types