Skip to content
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Data Scientist
/
Questions
/
Groupby
Data Scientist
Groupby questions
7 questions on Groupby for data scientists, easiest first.
Easy
1
Turning a groupby result into a table
easy
Medium
4
Named columns from groupby
medium
Best-selling product in each city
medium
Running total per customer
medium
Numbering each customer's orders
medium
Hard
2
groupby().first() mixes rows
hard
Two-level column names after agg
hard