Challenge: Apply Validation Rules to Employee Records
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Fantastisk!
Completion rate forbedret til 5
Challenge: Apply Validation Rules to Employee Records
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single