code: def build_code(self, data):
      value = get_replacement_value_as_str(
          self.cfg, "value", data[self.col]
      )
      return "df.loc[:, '{name}'] = df['{col}'].replace(r'^\\s+$', {value}, regex=True)".format(
          name=self.name or self.col, col=self.col, value=value
      )
  
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 3 for calling the SpaceReplacement obj's underlying member method code with example usage: obj.build_code(data) and returns: str