This is a follow on from a previous question:
Grouping data by id, var1 into consecutive dates in python using pandas
I have a data set with ids and values per day