Interview practice question
Validating an email column
Data Engineering · Python · Beginner
You need to flag invalid email addresses in a customer dataset. How would you do it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Normalize: trim spaces and lowercase.
- Use a reasonable regex for basic format, not a perfect one.
- Flag empties and obvious junk values separately.
- Don't drop rows, add a validity flag.
- Real verification needs a separate service.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.