code: def test_dataframe_drop_duplicates_method():
      pdf = pd.DataFrame(
          [
              (1, 2, "a"),
              (2, 3, "b"),
              (3, 4, "c"),
              (2, 3, "d"),
              (3, 5, "c"),
          ],
          columns=["n1", "n2", "s1"],
      )
      gdf = cudf.DataFrame.from_pandas(pdf)
      assert_df(gdf.drop_duplicates(), pdf.drop_duplicates())
  
      assert_eq(
          gdf.drop_duplicates("n1")["n1"].reset_index(drop=True),
          pdf.drop_duplicates("n1")["n1"].reset_index(drop=True),
      )
      assert_eq(
          gdf.drop_duplicates("n2")["n2"].reset_index(drop=True),
          pdf.drop_duplicates("n2")["n2"].reset_index(drop=True),
      )
      assert_eq(
          gdf.drop_duplicates("s1")["s1"].reset_index(drop=True),
          pdf.drop_duplicates("s1")["s1"].reset_index(drop=True),
      )
      assert_eq(
          gdf.drop_duplicates("s1", keep="last")["s1"]
          .sort_index()
          .reset_index(drop=True),
          pdf.drop_duplicates("s1", keep="last")["s1"].reset_index(
              drop=True
          ),
      )
      assert gdf.drop_duplicates("s1", inplace=True) is None
  
      gdf = cudf.DataFrame.from_pandas(pdf)
      assert_df(gdf.drop_duplicates("n1"), pdf.drop_duplicates("n1"))
      assert_df(gdf.drop_duplicates("n2"), pdf.drop_duplicates("n2"))
      assert_df(gdf.drop_duplicates("s1"), pdf.drop_duplicates("s1"))
      assert_df(
          gdf.drop_duplicates(["n1", "n2"]),
          pdf.drop_duplicates(["n1", "n2"]),
      )
      assert_df(
          gdf.drop_duplicates(["n1", "s1"]),
          pdf.drop_duplicates(["n1", "s1"]),
      )
  
      # Test drop error
      assert_exceptions_equal(
          lfunc=pdf.drop_duplicates,
          rfunc=gdf.drop_duplicates,
          lfunc_args_and_kwargs=(["n3"],),
          rfunc_args_and_kwargs=(["n3"],),
      )
  
      assert_exceptions_equal(
          lfunc=pdf.drop_duplicates,
          rfunc=gdf.drop_duplicates,
          lfunc_args_and_kwargs=([["n1", "n4", "n3"]],),
          rfunc_args_and_kwargs=([["n1", "n4", "n3"]],),
      )
  
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 11 for calling a global function with example usage: test_dataframe_drop_duplicates_method() without return types