how can I change the format of the following dataframe
Time Aug-19 Sep-19 ... Jul-20 Aug-20 Sep-20 Products Book