ENH: getAverageOfTimeSeries helper