- I want to create a dataframe as below. The picture is from what I have in excel.
I do not want to import from excel, rather create it directly in pandas.
I think it should be possible by create a multi-index using
pd.MultiIndex.from_productbut I am not able to figure it out.
- I want to create a graph of x as x-axis & y as y-axis for all A, B & C in the same graph. I think this is also possible but not sure how.
You can ignore the values in have in the picture. It can be random values, not a problem. I will manage to figure out entering the values i want later.


