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

Quiz: Data Cleaning · Question 8 of 10

A salary column is missing for students who are not placed yet. Why is filling it with the average salary a bad idea?

A salary column is missing for students who are not placed yet. Why is filling it with the average salary a bad idea?

  1. A.The average is hard to compute
  2. B.Missing here means "not placed", so a filled value would invent salaries that do not exist
  3. C.pandas cannot fill numeric columns
  4. D.The median is always required
Answer & explanation

Correct answer: Missing here means "not placed", so a filled value would invent salaries that do not exist

Never fill blindly; decide what missing means for each column.

Can you get the rest right without peeking?

Take the timed Quiz: Data Cleaning quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →