def total_value(metric):

    total = 0
    for i in metric:
        total += i

    return total
Given a time series of values, sum the values
dataset/ETHPy150Open twitterdev/ads-platform-tools/python/compare_stats.py/total_value