Basically I have data that looks like this, with the data grouped by Company and Program and the top 3 Programs by Revenue listed for each Company:
That I would like to look like this, where the Companies are on the rows still, but its top 3 Programs are now in their own column, no need to keep the Revenue values in the visible output:
I've tried a few solutions but it wasn't shaping quite the way I expected and I'm having difficulty finding the exact solution online
I'm new to Python so any help would be greatly appreciated!