class_docstr: A set of statistics about a single value series.
class_docstr_tok: ["A","set","of","statistics","about","a","single","value","series","."]
code: def avg(self):
      return 0 if self.num == 0 else self.sum / self.num
  
imports: import collections
  import functools
  import math
  import os
  import sys
  import threading
  import time
label_desc: Use image node_id 4 for calling the Stat obj's underlying member method code with example usage: obj.avg() and returns: unknown