I'm relatively new to pandas and I am stuck on how to restructure a dataframe. Here is a very simplified example of what I want to do:
My current df is:
Name Company 20210102
John X Y
and I want to transform it to:
Date Name Company Paycheck
20210102 John X Y
I feel like I should be using pivot_table somehow but not sure how.. any help is appreciated