def pstdev(data, mu=None):
    """Return the square root of the population variance.

    See ``pvariance`` for arguments and other details.

    """
    var = pvariance(data, mu)
    try:
        return var.sqrt()
    except __HOLE__:
        return math.sqrt(var)
dataset/ETHPy150Open avalente/appmetrics/appmetrics/statistics.py/pstdev