code: def _build_code(self):
      subset, keep = (self.cfg.get(p) for p in ["subset", "keep"])
      keep = "False" if keep == "none" else "'{}'".format(keep)
      return (
          "duplicates = df.duplicated(['{subset}'], keep={keep})\n"
          "df = df[~duplicates]"
      ).format(subset="','".join(subset), keep=keep)
  
imports: import pandas
  import dtale.global_state
  from dtale.query import run_query
  from dtale.utils import dict_merge, grid_columns, grid_formatter, triple_quote
  from dtale.charts.utils import build_group_inputs_filter
label_desc: Use image node_id 4 for calling the RemoveDuplicateRows obj's underlying member method code with example usage: obj._build_code() and returns: str