code: def __init__(self, data_id, col, replacement_type, cfg, name=None):
      self.data_id = data_id
      if replacement_type == "spaces":
          self.builder = SpaceReplacement(col, cfg, name)
      elif replacement_type == "strings":
          self.builder = StringReplacement(col, cfg, name)
      elif replacement_type == "value":
          self.builder = ValueReplacement(col, cfg, name)
      elif replacement_type == "imputer":  # iterative, knn, simple
          self.builder = ImputerReplacement(col, cfg, name)
      elif replacement_type == "partial":
          self.builder = PartialReplacement(col, cfg, name)
      else:
          raise NotImplementedError(
              "'{}' replacement not implemented yet!".format(
                  replacement_type
              )
          )
  
imports: import re
  import numpy
  import pandas
  from six import string_types
  import dtale.global_state
  from dtale.column_builders import ReplaceColumnBuilder
  from dtale.utils import classify_type, find_dtype, dict_merge
label_desc: Use image node_id 1 to create a new ColumnReplacement object from inherited base classes: object with example: obj = ColumnReplacement(data_id, col, replacement_type, cfg, name)