code: def test_clean_names_camelcase_to_snake_multi(dataframe):
      """Tests clean_names `case_type` parameter = snake on a multi-index
      dataframe.
      """
      df = (
          dataframe.select(
              columns=["a", "Bell__Chart", "decorated-elephant"]
          )
          .rename_column("a", "snakesOnAPlane")
          .rename_column("Bell__Chart", "SnakesOnAPlane2")
          .rename_column("decorated-elephant", "snakes_on_a_plane3")
          .clean_names(
              case_type="snake",
              strip_underscores=True,
              remove_special=True,
          )
      )
      assert list(df.columns) == [
          "snakes_on_a_plane",
          "snakes_on_a_plane2",
          "snakes_on_a_plane3",
      ]
  
file_path: pyjanitor/tests/functions/test_clean_names.py
imports: import pandas
  import pytest
  from janitor.errors import JanitorError
label_desc: Use image node_id 11 for calling a global function with example usage: test_clean_names_camelcase_to_snake_multi(dataframe) without return types