code: def _sizeof_fmt(num):
      """Format byte size to human-readable format.
  
      https://web.archive.org/web/20111010015624/http://blogmag.net/blog/read/38/Print_human_readable_file_size
  
      Args:
          num (float): Number of bytes
      """
      for x in ["bytes", "KB", "MB", "GB", "TB", "PB"]:
          if num < 1024.0:
              return f"{num:3.1f} {x}"
          num /= 1024.0
  
imports: from typing import Dict, Callable, Optional
  import warnings
  import pandas
  from pandas.core.dtypes.common import is_float
  import numpy
  from data_describe._widget import BaseWidget
  from data_describe.compat import _requires, _compat, _is_series, _is_dataframe
  from data_describe.backends._backends import _get_compute_backend
label_desc: Use image node_id 7 for calling a global function with example usage: _sizeof_fmt(num) and returns: num, str, x