I have data in this format
The format in which I want is
Here is my example data set
Code:
date comp1_asset comp1_ profit comp2_asset comp2_profit 1/2018 10000 2000 10500 18000 2/2018 12000 2200 11000 19000
Code:
date comp assets profit 1/2018 comp1 10000 2000 2/2018 comp1 12000 2200 1/2018 comp2 10500 18000 2/2018 comp2 11000 19000
Code:
clear input double(ALUMINIUMBAHRAIN ALUMINIUMBAHRAINMARKETVALUE) long ALUMINIUMBAHRAITOTALASSETS double ALUMINIUMBAHRAIBOOKVALUEPE long ALUMINIUMBAHRAICOMMONSHARES double(BAHRAINCARPARKCO BAHRAINCARPARKCOMARKETVA) int BAHRAINCARPARKCOTOTALASSET .5700000000000001 809.4 1229103 .587 1412731 .16 11.25 12905 .5700000000000001 809.4 1229103 .587 1412731 .16 11.25 12905 .56 802.3000000000001 1229103 .587 1412731 .16 11.25 12905 .56 802.3000000000001 1229103 .587 1412731 .16 11.25 12905 .56 802.3000000000001 1229103 .587 1412731 .16 11.25 12905 .56 802.3000000000001 1229103 .587 1412731 .16 11.25 12905 .5700000000000001 809.4 1229103 .587 1412731 .16 11.25 12905 .5700000000000001 809.4 1229103 .587 1412731 .16 11.25 12905 .5700000000000001 816.5 1229103 .587 1412731 .16 11.25 12905 .59 844.9 1229103 .587 1412731 .16 11.25 12905 .59 844.9 1229103 .587 1412731 .16 11.25 12905 end
Comment