I have the following df:
Year b c Monthly Flow (2018) First thing Second thing Third thing
1 2018 -0.041619 43.91 -0.041619 2000 1000 6
2 2018 0.011913 43.91 -0.041619 4000 120 8
3 2018 -0.048801 43.91 -0.041619 2000 1000 6
4 2018 0.002857 43.91 -0.041619 2000 1000 6
And I would like restructure it in order to achieve this output:
Year b c Monthly Flow (2018) Process name Value
1 2018 -0.041619 43.91 -0.041619 First thing 2000
1 2018 0.011913 43.91 -0.041619 Second thing 1000
1 2018 -0.048801 43.91 -0.041619 Third thing 6
2 2018 -0.041619 43.91 -0.041619 First thing 4000
2 2018 0.011913 43.91 -0.041619 Second thing 120
2 2018 -0.048801 43.91 -0.041619 Third thing 8
...
I tried to pivot but I can't get this output.