Replacing missing values with the mean or median is one of the most common methods used during data wrangling. This method is preferred when the missing values are not randomly distributed, and there is a need to fill gaps without introducing significant bias. The mean is often used for normally distributed data, while the median is preferred for skewed data, as it is less sensitive to outliers. This technique allows analysts to retain all the available data and proceed with analysis without losing important information, which could otherwise distort statistical analyses or machine learning models. Option A (Remove rows with missing data) is incorrect because it can lead to a significant loss of data, especially if the missing values are scattered across the dataset. Option B (Replace missing values with zeros) is not ideal because replacing with zeros can distort the analysis, especially if zeros don't make sense in the context of the data. Option D (Ignore the missing values) is not recommended as it might lead to biased results or inaccuracies in analysis. Option E (Use machine learning to predict missing values) is correct in advanced scenarios but typically used after more straightforward methods (like mean/median imputation) have been applied.
Which site is recognized as India’s only “mixed world heritage site” by UNESCO?
Who is considered the father of the Indian Navy?
Which university was planned to be established in the union budget 2021-22?
Which of the following is not covered under Payment and Settlement?
What is the minimum lane width required in competitive swimming pools?
Who is the current President of the United States as of 2024?
From which of the following countries India has NOT borrowed features of the constitution?
Khandvi' is a delicacy of which state of India?
15th June is observed as?
Galathea Bay National Park is situated in which of the following?