← 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?
- A.The average is hard to compute
- B.Missing here means "not placed", so a filled value would invent salaries that do not exist
- C.pandas cannot fill numeric columns
- 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 →