Avsnitt 1. Kapitel 16
single
Challenge: Handling Missing Data
Svep för att visa menyn
Uppgift
Svep för att börja koda
In exploratory data analysis, you often encounter missing values in your data frames. Your goal is to detect all missing values in a data frame and replace them with a specified value.
- Replace all
NAvalues in the input data framedfwith the value provided in the parametervalue. - Return the modified data frame with all missing values imputed.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 16
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