Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Course Recap
7. Grouping rows
Final challenge
Summary

Instruction

Excellent! Now, let's find out a bit more about the hosts.

Exercise

Group all rows by host, find the number of offers for each host and show the host IDs alongside the number of offers sorted by number of offers in descending order.

You can see that there is even one host with as many as 28 offers!

Stuck? Here's a hint!

Use .groupby(), then .size() and .sort_values(), all in a single line of code.