← Quiz: groupby and merge: all 10 questions
Quiz: groupby and merge · Question 10 of 10
What does named aggregation such as agg(avgcgpa=("cgpa", "mean")) give you?
What does named aggregation such as agg(avg_cgpa=("cgpa", "mean")) give you?
- A.A faster merge
- B.Result columns with clear names you choose, ready for a report
- C.A pivot table with two keys
- D.Automatic removal of NaN rows
Answer & explanation
Correct answer: Result columns with clear names you choose, ready for a report
Clear column names make reports easier to read.
Can you get the rest right without peeking?
Take the timed Quiz: groupby and merge quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →