started Sequence class for #7, defined date column in df for grouping