I have data that looks something like this:
order_id Product_A Product_B Price_Product_A Price_Product_B
100 Pen Notebook 1.5 3
101 Bag Watch 10 12
I need it to look like this:
order_id product price
100 Pen 1.5
100 Notebook 3
101 Bag 10
101 Watch 12
How can I use stack() and unstack() for this? I used it so fat only for one numeric measure.