I have a dataset that I want to transpose based on fund
Input:
| fund | sub | date | name | value |
| ABC | 12-ABC | 12/1/2021 | Sale | 123.01 |
| ABC | 23-ABC | 12/2/2021 | Buy | 145 |
| ABC | 34-ABC | 12/3/2021 | Purchase | 156 |
Output:
| fund | sub | date | sale | Buy | Purchase |
| ABC | 12-ABC | 12/1/2021 | 123 | | |
| ABC | 23-ABC | 12/2/2021 | | 145 | |
| ABC | 34-ABC | 12/3/2021 | | | 156 |