I got a dataframe like this:
id Date value
a 2016 400
a 2017 300
a 2018 200
a 2019 100
and so on. I got multiple identifiers. How can I get a dataframe like this
id 2016 2017 2018 2019
a 400 300 200 100
I have tried different solutions with merge and transposing the dataframe but it won't work. Is there a solution to this?
Thank you guys a lot in advance