Python groupby consecutive numbers. groupby (), and then maps the resulting grou...