Challenge: Apply Validation Rules to Employee Records
Tâche
Swipe to start coding
Apply data validation rules to an employee records data frame to ensure data integrity.
- Correct any ages that fall outside the range 18 to 65 by setting them to the nearest valid value.
- Ensure all
employee_idvalues are unique, modifying duplicates by appending a suffix. - Set email values that do not have a valid format (must contain both "@" and ".") to
NA.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Génial!
Completion taux amélioré à 5
Challenge: Apply Validation Rules to Employee Records
Glissez pour afficher le menu
Tâche
Swipe to start coding
Apply data validation rules to an employee records data frame to ensure data integrity.
- Correct any ages that fall outside the range 18 to 65 by setting them to the nearest valid value.
- Ensure all
employee_idvalues are unique, modifying duplicates by appending a suffix. - Set email values that do not have a valid format (must contain both "@" and ".") to
NA.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single