Quantcast
Channel: BlogoSfera » unique
Viewing all articles
Browse latest Browse all 13

Groupby to Count Frequency of Unique Values in Set

$
0
0

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.


Viewing all articles
Browse latest Browse all 13

Trending Articles