code: def agg(
      self, data
  ):  # noqa: W0221  # pylint: disable=arguments-differ
      xdf = cudf if self.is_gpu() else pd
      # convert to series data
      return xdf.Series(data.unique())
  
file_path: mars/mars/dataframe/reduction/unique.py
imports: import pandas
  import numpy
  from ...None import opcodes
  from ...core import OutputType, ENTITY_TYPE
  from ...tensor.core import TensorOrder
  from ...utils import lazy_import
  from ..initializer import Series
  from .core import DataFrameReductionOperand, DataFrameReductionMixin, CustomReduction
label_desc: Use image node_id 1 for calling the UniqueReduction obj's underlying member method code with example usage: obj.agg(data) and returns: xdf