What’s the best way of displaying this multi level dataframe as a dashtable ?
I’ve tried some manual column manipulation like this one, but didn’t work.
bottom_col_row = df2.columns.get_level_values(1) #------------
df2.columns = df2.columns.droplevel(1) #------------
columns=[{'name': [x[0], x[1]], 'id': x[0]} for x in zip(df2.columns, bottom_col_row)]