Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Multi-Index¶
pd.MultiIndex.from_product([[jj.index.name], jj.index.values])Get Levels¶
get_level_valuesit seems to me that there are even easier ways sometimes ...Extract columns whose 2nd-level index is bi from the data frame df.
df.loc(axis=1)[:, "bi"]References¶
https://
https://
https://
http://
http://