code: def display_value(
      value: float,
      thousands_separator: str = ",",
      decimal_separator: str = ".",
  ) -> str:
      """
      Display a value as a string with specific format.
  
      Parameters
      ----------
      value : float
          Value to display.
      thousands_separator : str
          The separator used to separate thousands.
      decimal_separator : str
          The separator used to separate decimal values.
  
      Returns
      -------
      str
  
      Examples
      --------
      >>> display_value(1255000, thousands_separator=',')
      '1,255,000'
  
      """
      value_str = (
          "{:,}".format(value)
          .replace(",", "/thousands/")
          .replace(".", "/decimal/")
      )
      return value_str.replace(
          "/thousands/", thousands_separator
      ).replace("/decimal/", decimal_separator)
  
file_path: shapash/shapash/report/common.py
imports: from typing import Union, Optional
  from enum import Enum
  from numbers import Number
  import pandas
  import os
  from pandas.api.types import is_string_dtype, is_numeric_dtype, is_bool_dtype
label_desc: Use image node_id 6 for calling a global function with example usage: display_value(value, thousands_separator, decimal_separator) and returns: value_str