I have a dataframe that looks like this:
first_name    |    last_name    |    status    |    amount
john          |    doe          |    approved  |    2
john          |    doe          |    denied    |    4
john          |    doe          |    waiting   |    1
...           |    ...          |    ...       |    ...
max           |    mustermann   |    approved  |    0
max           |    mustermann   |    denied    |    17
...           |    ...          |    ...       |    ...
jane          |    doe          |    approved  |    8
jane          |    doe          |    denied    |    1
jane          |    doe          |    waiting   |    0
Is it possible to change the format of dataframe into something like this?
first_name    |    last_name    |    approved    |    denied    |    waiting
john          |    doe          |    2           |    4         |    1
jane          |    doe          |    8           |    1         |    0
Thanks for your help and have a great day!
 
    