Pandas random sampling: stratified and weighted In this quick tutorial, we're going to discuss stratified sampling
How to Group by multiple columns, count and map in Pandas To group by two or multiple columns, count unique combinations