docs: def pstdev(data):
          """Calculates the population standard deviation."""
          n = len(data)
          if n < 2:
              return 0
              # raise ValueError('variance requires at least two data points')
          ss = TableExtraction._ss(data)
          pvar = ss/n # the population variance
          return pvar**0.5