code: def fmt_int_limit(value: float) -> str:
      # Use commas until 1 million, then "12.5M" etc.
      if value is None:
          # Support for empty fields
          return "---"
      if value > 999999:
          return f"{value/1000000:.1f}M"
      return f"{value:,}"
  
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 2 for calling a global function with example usage: fmt_int_limit(value) and returns: value, str, unknown, str