Using df.set_index and df.T and df.rename_axis
df = df.set_index('id').T.rename_axis("Date", axis=1)
print(df)
Output:
Date a b c
1/22/20 1 3 5
1/23/20 2 4 6
1/24/20 3 5 7
1/25/20 4 6 8
If you are a beginner and want to know more about Python the do check out the python for data science course