parameters: (stats)
return_statement: return stat_dict
docstring: Converts a Statistics object to an ordered dictionary.
      @param stats Statistics object to convertToWaterfall
      @return Dictionary of statistics
docstring_summary: Converts a Statistics object to an ordered dictionary.
docstring_tokens: Converts a Statistics object to an ordered dictionary .
function: def _stats_to_dict(stats):
      """
      Converts a Statistics object to an ordered dictionary.
      @param stats Statistics object to convertToWaterfall
      @return Dictionary of statistics
      """
      stat_dict = collections.OrderedDict()
      stat_dict['StandardDev'] = stats.standard_deviation
      stat_dict['Maximum'] = stats.maximum
      stat_dict['Minimum'] = stats.minimum
      stat_dict['Mean'] = stats.mean
      stat_dict['Median'] = stats.median
      return stat_dict
function_tokens: def _stats_to_dict ( stats ) : stat_dict = collections . OrderedDict ( ) stat_dict [ 'StandardDev' ] = stats . standard_deviation stat_dict [ 'Maximum' ] = stats . maximum stat_dict [ 'Minimum' ] = stats . minimum stat_dict [ 'Mean' ] = stats . mean stat_dict [ 'Median' ] = stats . median return stat_dict