Section 1. Chapter 16
single
Challenge: Handling Missing Data
Swipe to show menu
Task
Swipe to start coding
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.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 16
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat