My question is as follows:
I want to transform my data from:
          ID1     ID1     ID2.    ID2 
Time.     Price   Vol.    Price   Vol
01/2/17.  5       12     3         9 
02/2/17.  6       8      4        10 
To:
Time.   Symbol   Price   Vol.    
01/2/17.  ID1      5      12  
01/2/17.  ID2      3      9
02/2/17.  ID1      6     8  
02/2/17.  ID2      4     10
Any ideas? This would be much appreciated.
 
    