'How to set new index based on the 1st column and make the same index values to be in one cell?

enter image description here

How to make new index based on 'Date' column and merge the same values of 'Time' to one cell?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source