feat(unitproc):Add py function to expand/reduce numeric lists