code: def _human_format(number):
      units = ["", "K", "M", "G", "T", "P"]
      k = 1000.0
      magnitude = int(floor(log(number, k)))
      return "%.2f%s" % (number / k**magnitude, units[magnitude])
  
file_path: plotly.py/packages/python/plotly/plotly/figure_factory/_county_choropleth.py
imports: import io
  import numpy
  import os
  import pandas
  import warnings
  from math import log, floor
  from numbers import Number
  from plotly import optional_imports
  import plotly.colors
  from plotly.figure_factory import utils
  from plotly.exceptions import PlotlyError
  import plotly.graph_objs
label_desc: Use image node_id 2 for calling a global function with example usage: _human_format(number) and returns: unknown