def stdev(data, xbar=None):
    """Return the square root of the sample variance.

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

    """
    var = variance(data, xbar)
    try:
        return var.sqrt()
    except __HOLE__:
        return math.sqrt(var)
dataset/ETHPy150Open avalente/appmetrics/appmetrics/statistics.py/stdev