code: def test_drop_duplicates_multi_index():
      arrays = [
          ["bar", "bar", "baz", "baz", "foo", "foo", "qux", "qux"],
          ["one", "two", "one", "two", "one", "two", "one", "two"],
      ]
  
      idx = pd.MultiIndex.from_tuples(
          list(zip(*arrays)), names=["a", "b"]
      )
      pdf = pd.DataFrame(np.random.randint(0, 2, (8, 4)), index=idx)
      gdf = cudf.DataFrame.from_pandas(pdf)
  
      expected = pdf.drop_duplicates()
      result = gdf.drop_duplicates()
      assert_df(result.to_pandas(), expected)
      # FIXME: to_pandas needed until sort_index support for MultiIndex
  
      for col in gdf.columns:
          assert_df(
              gdf[col].drop_duplicates().to_pandas(),
              pdf[col].drop_duplicates(),
          )
  
imports: import itertools
  import random
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import concat
  from cudf.testing._utils import _create_pandas_series_float64_default, assert_eq, assert_exceptions_equal
label_desc: Use image node_id 16 for calling a global function with example usage: test_drop_duplicates_multi_index() without return types