I have a DF like this User Dept 1 Cook 1 Cook 1 Home 2 Sports 2 Travel 2 Cook I want to count the unique users within each department: Dept User Cook 2 Home 1 Sports 1 Travel 1 Notice how the department Cook only has a count of two because even though three […]
The post Groupby to Count Frequency of Unique Values in Set appeared first on BlogoSfera.