I am having trouble counting a categorical column. Thanks in advance!
So I have this dataframe:
Employee ID Station
1001 Produce
1002 Pharmacy
1001 Frozen
1003
I want to add a column to the data frame that counts how many stations each employee had.
Example of output:
Employee ID Station Count
1001 Produce 2
1002 Pharmacy 1
1001 Frozen 2
1003 0