Challenge: Apply Validation Rules to Employee Records
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 6
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Genial!
Completion tasa mejorada a 5
Challenge: Apply Validation Rules to Employee Records
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 6
single