code: def test_datetime_drop_duplicates():
      date_df = cudf.DataFrame()
      date_df["date"] = pd.date_range("11/20/2018", periods=6, freq="D")
      date_df["value"] = np.random.sample(len(date_df))
  
      df = concat([date_df, date_df[:4]])
      assert_df(df[:-4], df.drop_duplicates())
  
      df2 = df.reset_index()
      assert_df(df2[:-4], df2.drop_duplicates())
  
      df3 = df.set_index("date")
      assert_df(df3[:-4], df3.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 12 for calling a global function with example usage: test_datetime_drop_duplicates() without return types