@staticmethod
def _reduce(res, result_single_frame):
    """ 'accumulate' action for a time series"""
    if isinstance(res, list) and len(res) == 0:
        res = result_single_frame
    else:
        res += result_single_frame
    return res
