pandas date_range dataframe to column headers

Question:

Im new to python, and im attempting to create a date_range, convert the date_range to a DataFrame and convert each DataFrame row into a header. I have been perusing through the interwebs and cannot find a solution. It seems a simple problem, but i guess im to new to implement a simple solution. Any help is apreciated.
Here is what i have:

duration = pd.date_range(start='1/1/2022', periods=52, freq='W')
df = pd.DataFrame({'Date': duration})

Result:
RESULT

Need code for desired result:

Expected Result

Asked By: DeanOfMean

||

Answers:

Reflect the DataFrame over its main diagonal by writing rows as columns and vice-versa. The property T is an accessor to the method transpose().

Answered By: Ricardo
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.