def mean(data):

    if len(data) < 1:
        return None

    return float(sum(data)) / len(data)
Return the arithmetic mean of ``data``.
dataset/ETHPy150Open yvesalexandre/bandicoot/bandicoot/helper/tools.py/mean