Transforming Employee Roster into a Headcount Calendar - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: Transforming Employee Roster into a Headcount Calendar (/thread-37812.html) |
Transforming Employee Roster into a Headcount Calendar - Michaperki - Jul-25-2022 Hello, I've started a new job recently and one of my first tasks as a BI analyst is to create a regularly updating dashboard showing employee headcount over time. The input dataset is a roster export from our HR system. The data includes the following columns:
The output should be a calendar view showing the total headcount for each function by month. Really just three columns:
I've attached an Excel file with sample input and the desired output (apologies, but I wrote this manually and overlooked one software developer so there is a small error in the output). I have found a workable solution but came here to refine my approach and collect ideas. Current approach:
If helpful, I can prepare/share a script showing my current process. But I am hoping that this description of the task is enough detail for you to propose an approach. Thank you for your help! Michael |