I have the dataset that looks like this:
ISIN Variable Value
182 Sales2008 276
182 Sales2009 800
182 Sales2010 900
182 Sales2011 273
182 Sales2012 276
182 Sales2013 123
182 Sales2014 345
182 Sales2015 444
182 Sales2016 666
182 Sales2017 777
182 Sales2018 999
182 Sales2019 235
182 Salesf2008 276
182 Salesf2009 800
182 Salesf2010 900
182 Salesf2011 273
182 Salesf2012 276
182 Salesf2013 123
182 Salesf2014 345
182 Salesf2015 444
182 Salesf2016 666
182 Salesf2017 777
182 Salesf2018 999
182 Salesf2019 235
182 ROA2008 333
182 ROA2009 333
182 ROA2010 333
182 ROA2011 333
182 ROA2012 333
182 ROA2013 333
182 ROA2014 333
182 ROA2015 333
182 ROA2016 333
182 ROA2017 333
182 ROA2018 333
182 ROA2019 333
Do you have any suggestion how to create a new df where the values from Sales2008
to Sales2019
would be stored in one column? Also, the values for Salesf2008
to Salesf2019
would be stored in the next column, and the values for ROA2008
to ROA2019
in the next column?
Thanks in advance!