code: def test_replace_level_values_MultiColumn():
      ca = ColumnAccessor(
          {
              ("a", 1): [1, 2, 3],
              ("a", 2): [2, 3, 4],
              ("b", 1): [3, 4, 5],
          },
          multiindex=True,
      )
  
      expect = ColumnAccessor(
          {
              ("f", 1): [1, 2, 3],
              ("f", 2): [2, 3, 4],
              ("b", 1): [3, 4, 5],
          },
          multiindex=True,
      )
  
      got = ca.rename_levels(mapper={"a": "f"}, level=0)
      check_ca_equal(expect, got)
  
imports: import pandas
  import pytest
  import cudf
  from cudf.core.column_accessor import ColumnAccessor
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 20 for calling a global function with example usage: test_replace_level_values_MultiColumn() without return types