code: def __call__(self, s: SeriesT) -> SeriesT:
      return s.duplicated(keep=self.keep)
  
file_path: pygraphistry/graphistry/compute/predicates/categorical.py
imports: from typing import Any, TYPE_CHECKING
  from typing_extensions import Literal
  import pandas
  from .ASTPredicate import ASTPredicate
label_desc: Use image node_id 2 for calling the Duplicated obj's underlying member method code with example usage: obj.__call__(s) and returns: s