Seksjon 1. Kapittel 16
single
Challenge: Handling Missing Data
Sveip for å vise menyen
Oppgave
Sveip for å begynne å kode
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 16
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår