推荐URL:Pandas - concatenating two multi-index dataframes
我想要的结果
Name Q1 Q2 Q3
Student Name IS CC IS CC IS CC
Month Roll No
2016-08-01 0 Save Mithil Vinay ...
1 Abraham Ancy Chandy
2 Barabde Pranjal Sanjiv
3 Bari Siddhesh Kishor
4 Barretto Cleon Domnic
1条答案
按热度按时间5anewei61#
df.columns=df.columns.droplevel(level=0)