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