Pandas: union duplicate strings,"df.groupby(['ID', 'url'])['active_seconds'].cumsum()"