I am using pandas library in python to generate a multi-indexed data, i.e., the columns are multi-indexed. The indices are category and source. I save this data as .csv file. In the file, the first row is the category values and second row is corresponding source values, then the data follows. I use this file to visualize in Orange3 software. But it takes only the first row as the column name, how do I make it take column name as the combination of the two.
I am just trying to visualize the whole thing as a histogram, if possible.
- Since, there are effectively 2 (
categoryandsource) + 1 (the row label) variables, 3d visualization would be best or - 1 (
categoryandsourcecombined variable) + 1 (the row label), 2d visualisation
category 1 1 1 1 1 2 2
source a b c d e f g
label
l1 1 2 3 4 5 6 7
l2 4 5 6 7 8 9 10