code: def getstatsdict(self, names, default=numpy.nan):
          
          return dict(zip(names, self.getstats(names, default=default)))
docs: Get the requested stats as a dictionary.
  
          If a requested stat is not an attribute (implying it hasn't been
          stored), then the default value is returned for that stat.
  
          Parameters
          ----------
          names : list of str
              The names of the stats to get.
          default : float, optional
              What to return if a requested stat is not an attribute of self.
              Default is ``numpy.nan``.
  
          Returns
          -------
          dict
              A dictionary of the requested stats.