code: def fmt_assoc(value: float) -> str:
      if value == CORRELATION_IDENTICAL:
          value = 1.0
      if value == CORRELATION_ERROR:
          return "---"
      return f"{value:.2f}"
  
file_path: sweetviz/sweetviz/sv_html_formatters.py
imports: from decimal import Decimal
  import numpy
  from sweetviz.graph_associations import CORRELATION_ERROR
  from sweetviz.graph_associations import CORRELATION_IDENTICAL
label_desc: Use image node_id 3 for calling a global function with example usage: fmt_assoc(value) and returns: value, str