🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: groupby and merge: all 10 questions

Quiz: groupby and merge · Question 5 of 10

Why keep each student's best offer before computing placement rates?

Why keep each student's best offer before computing placement rates?

  1. A.To make the code shorter
  2. B.So students with several offers aren't counted more than once
  3. C.Because merge can't handle numbers
  4. D.To remove students without offers
Answer & explanation

Correct answer: So students with several offers aren't counted more than once

One row per student keeps rates correct.

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 →