🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Data Cleaning: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. A CGPA column contains "six" among numbers. What safely converts it?
  2. Q2. Why normalise text before removing duplicates?
  3. Q3. Which fill value resists outliers for a numeric column?
  4. Q4. In pandas 3, you change a filtered selection: toppers["cgpa"] = 10. What happens to the original df?
  5. Q5. What does pd.todatetime(col, errors="coerce") do with "not known"?
  6. Q6. What does this print? (code)
  7. Q7. What does this print? (code)
  8. Q8. A salary column is missing for students who are not placed yet. Why is filling it with the average salary a bad idea?
  9. Q9. When is "fill by group" better than one overall median?
  10. Q10. Why should you count rows before and after every cleaning step?