I want to align the dataframe\'s rows into one row by multiple indexes. I have the next DataFrame where the columns ID and Date are the index:
ID
Date