I'm using Pandas, and I would like to reposition elements with the columns, I currently have:
| Type Label | Initial | 2022 | 2023 | Difference |
|---|---|---|---|---|
| APPS | A/B/C | 500 | 469 | 31 |
| BACS | B/C/D | 5 | 3 | 2 |
| CAPS | C/D/E | 10 | 5 | 5 |
I would like to have the table to be displayed like this:
| Type Label/Initial | 2022 | 2023 | Difference |
|---|---|---|---|
| APPS | 500 | 469 | 31 |
| A | |||
| B | |||
| C | |||
| BACS | 5 | 3 | 2 |
| B | |||
| C | |||
| D | |||
| CAPS | 10 | 5 | 5 |
| C | |||
| D | |||
| E |