I have a data frame with a hierarchical index in axis 1 (columns) (from a groupby.agg operation):
groupby.agg
USAF WBAN year month day s_PC s_CL
A bit late maybe, but if you are not worried about duplicate column names:
df.columns = df.columns.tolist()