groupby() Last updated on Nov 30, 2021 Pandas random sampling: stratified and weighted Random Sample per group in pandas How to Group by multiple columns, count and map in Pandas How to Group By Multiple Columns in Pandas GroupBy and Count Unique Rows in Pandas Previous Basic concepts Next Reshape