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 is used as red pigment in making batteries, lead glass and rust proof primer paints?
Why are ventilators typically positioned near the ceiling in rooms?
At what angle is a pendulum's equilibrium position defined?
The vector of malaria is:
Which of the following is the largest natural satellite in our solar system?
The number of ______ is equal to the difference between the mass number of the atom and the atomic number.
Identify the most abundant metal in the earth's crust.
Which of the following statements about asteroids is INCORRECT?
(I) Total mass of all the asteroids in the main asteroid belt combined is more th...
Which of the following correctly describes the features of Tribo-Electric Nanogenerator (TENG) technology?
What is the wavelength range of the visible spectrum?