I have a dataset that looks like this:
Category Date_x Value_x Date_y Value_y
A 01/01/2015 3 02/01/2015 5
B 01/01/2015 6 02/01/2015 10
C 01/01/2015 7 02/01/2015 5
Using Python, How can I change this data frame such that it appears like below:
Category Date_x Value_x
A 01/01/2015 3
A 02/01/2015 5
B 01/01/2015 6
B 02/01/2015 10
C 01/01/2015 7
C 02/01/2015 5
I'm still new to Pandas and your help will be greatly appreciated.
Edit: I only showed a part of the dataset. It actually is a big dataset that has like 100+ categories.