original_docstring:  Format for the incoming list of statistics for display.
  
          Parameters
          ----------
          compiled_stats: list
              List of summary statistics dictionaries to be formatted for display
  
          Returns
          -------
          list
              The original statistics formatted for display
          
docstring: Format for the incoming list of statistics for display.
  Parameters
  
  list
  List of summary statistics dictionaries to be formatted for display
  
  Returns
  
  list
  The original statistics formatted for display
docstring_tokens: Format for the incoming list of statistics for display . Parameters list List of summary statistics dictionaries to be formatted for display Returns list The original statistics formatted for display
code: def _format_stats(self, compiled_stats):
          """ Format for the incoming list of statistics for display.
  
          Parameters
          ----------
          compiled_stats: list
              List of summary statistics dictionaries to be formatted for display
  
          Returns
          -------
          list
              The original statistics formatted for display
          """
          logger.debug("Formatting stats")
          retval = []
          for summary in compiled_stats:
              hrs, mins, secs = self._convert_time(summary["elapsed"])
              stats = dict()
              for key in summary:
                  if key not in ("start", "end", "elapsed", "rate"):
                      stats[key] = summary[key]
                      continue
                  stats["start"] = time.strftime("%x %X", time.localtime(summary["start"]))
                  stats["end"] = time.strftime("%x %X", time.localtime(summary["end"]))
                  stats["elapsed"] = "{}:{}:{}".format(hrs, mins, secs)
                  stats["rate"] = "{0:.1f}".format(summary["rate"])
              retval.append(stats)
          return retval
code_tokens: def _format_stats ( self , compiled_stats ) : logger . debug ( "Formatting stats" ) retval = [ ] for summary in compiled_stats : hrs , mins , secs = self . _convert_time ( summary [ "elapsed" ] ) stats = dict ( ) for key in summary : if key not in ( "start" , "end" , "elapsed" , "rate" ) : stats [ key ] = summary [ key ] continue stats [ "start" ] = time . strftime ( "%x %X" , time . localtime ( summary [ "start" ] ) ) stats [ "end" ] = time . strftime ( "%x %X" , time . localtime ( summary [ "end" ] ) ) stats [ "elapsed" ] = "{}:{}:{}" . format ( hrs , mins , secs ) stats [ "rate" ] = "{0:.1f}" . format ( summary [ "rate" ] ) retval . append ( stats ) return retval
short_docstring: Format for the incoming list of statistics for display.
short_docstring_tokens: Format for the incoming list of statistics for display .
comment: """ Format for the incoming list of statistics for display.
  
          Parameters
          ----------
          compiled_stats: list
              List of summary statistics dictionaries to be formatted for display
  
          Returns
          -------
          list
              The original statistics formatted for display
          """