def kurtosis(data):

    if len(data) == 0:
        return None

    num = moment(data, 4)
    denom = moment(data, 2) ** 2.

    return num / denom if denom != 0 else 0
Return the kurtosis for ``data``.
dataset/ETHPy150Open yvesalexandre/bandicoot/bandicoot/helper/tools.py/kurtosis