code: def test_drop_duplicates_series(data, keep):
      pds = _create_pandas_series_float64_default(data)
      gds = cudf.from_pandas(pds)
  
      assert_df(
          pds.drop_duplicates(keep=keep), gds.drop_duplicates(keep=keep)
      )
      pds.drop_duplicates(keep=keep, inplace=True)
      gds.drop_duplicates(keep=keep, inplace=True)
      assert_df(pds, gds)
  
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 4 for calling a global function with example usage: test_drop_duplicates_series(data, keep) without return types