I have four dfs
dfB = pd.DataFrame([[cheapest_brandB[0],wertBereichB]], columns=['brand', 'price'], index=
['cheap'])
dfC = pd.DataFrame([[cheapest_brandC[0],wertBereichC]], columns=['brand', 'price'], index=
['cheap'])
dfG = pd.DataFrame([[cheapest_brandG[0],wertBereichG]], columns=['brand', 'price'], index=
['cheap'])
dfO = pd.DataFrame([[cheapest_brandO[0],wertBereichO]], columns=['brand', 'price'], index=
['cheap'])
the result :
brand price
cheap ASUS {'gte': 821.84, 'lte': 1200.91}
brand price
cheap HP {'gte': 187.82, 'lte': 993.73}
brand price
cheap Google {'gte': 1047.3, 'lte': 2093.59}
brand price
cheap MSI {'gte': 1047.3, 'lte': 2093.59}
and I want to make 3d df so that each of them belongs to a specific index something like that
Gaming Casual ....
brand price brand price
cheap ASUS {'gte': 821.84, 'lte': 1200.91} HP {'gte': 187.82, 'lte': 993.73} ....
light .. .. .. ..