What I want to do, is group by rows that have the same consecutive value, and keep the first and last timestamp in that group as two columns. Perhaps it\'s best visualized in th