code: def summary(self, v):
          
          if hasattr(v, "__iter__"):
              self._summary = self._summary_cls(v)
          else:
              self._summary = self._summary_cls(float(v))
docs: Set summary.
  
          Args:
            v: A new summary. It could be a single number or lists.