Challenge: Apply Validation Rules to Employee Records
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Fantastiskt!
Completion betyg förbättrat till 5
Challenge: Apply Validation Rules to Employee Records
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6
single