code: def __init__(self, data_id, check_type, cfg):
      self.data_id = data_id
      if check_type == "columns":
          self.checker = DuplicateColumns(data_id, cfg)
      elif check_type == "column_names":
          self.checker = DuplicateColumnNames(data_id, cfg)
      elif check_type == "rows":
          self.checker = RemoveDuplicateRows(data_id, cfg)
      elif check_type == "show":
          self.checker = ShowDuplicates(cfg)
      else:
          raise NotImplementedError(
              "'{}' duplicate check not implemented yet!".format(
                  check_type
              )
          )
  
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 1 to create a new DuplicateCheck object from inherited base classes: object with example: obj = DuplicateCheck(data_id, check_type, cfg)