I have a data table that looks like this (note this is condensed, there are some ID with 2+ TIMEs): ID TIME 1 10:12 1 4:43 2 9:12 3 1:43 3 16:47 4 2:55 I would like to flatten it so it looks like this: ID Time_1 Time_2 1 10:12 4:43 2 4:43 3 1:43 16:47 4 2:55 I'm reviewing 'flattening' options but have not yet found the correct answer. https://pandas.pydata.org/pandas-docs/version/0.14.1/generated/pandas.Index.flatten.html Continue reading...