Considering this sample data:
mem Admits AdmPerK
Month
JAN 1 2 3
FEB 4 5 6
I am attempting, I think, to introduce a multi index and create this result:
JAN FEB
<index> mem Admits AdmPerK mem Admits AdmPerK
0 1 2 3 4 5 6
Tried the following;
df.columns = pd.MultiIndex.from_tuples(df.columns)
df.T
Neither worked nor did a couple of other transformation attempts. Thanks for taking the time to look at this.