QuestionQ81
VerifiedData ProcessingA data scientist wants to use Spark ML to impute missing values in the PySpark DataFrame features_df. They want to replace missing values in every numeric column in features_df with the median for its respective numeric column.
They developed the following code block to perform this task:

The code block is not completing the task. Which reason explains why it is not performing the imputation?
Community Discussion