I need to display a table as shown in image. I am able to color the cells using pandas style. But, unable to club two columns with a common header the same way we do in Excel Spreadsheets with merge cells. Is there a way to do this in Pandas while displaying the data frame?
Asked
Active
Viewed 1,891 times
1
-
2Check this one: http://stackoverflow.com/questions/21443963/pandas-multilevel-column-names – Karl Anka Mar 20 '17 at 14:20
-
2Check this one too, much more similar to your's : http://stackoverflow.com/a/27424102/1965509 – Snehal Parmar Mar 20 '17 at 14:25