(data, mu=None)
Return the square root of the population variance.

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

    >>> pstdev([1.5, 2.5, 2.5, 2.75, 3.25, 4.75])
    0.986893273527251
Return the square root of the population variance.
Return the square root of the population variance .
def pstdev(data, mu=None):
    """Return the square root of the population variance.

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

    >>> pstdev([1.5, 2.5, 2.5, 2.75, 3.25, 4.75])
    0.986893273527251

    """
    # Fixme: Despite the exact sum of squared deviations, some inaccuracy
    # remain because there are two rounding steps.  The first occurs in
    # the _convert() step for pvariance(), the second occurs in math.sqrt().
    var = pvariance(data, mu)
    try:
        return var.sqrt()
    except AttributeError:
        return math.sqrt(var)
def pstdev ( data , mu = None ) : # Fixme: Despite the exact sum of squared deviations, some inaccuracy # remain because there are two rounding steps.  The first occurs in # the _convert() step for pvariance(), the second occurs in math.sqrt(). var = pvariance ( data , mu ) try : return var . sqrt ( ) except AttributeError : return math . sqrt ( var )