Question: Spark API provides many feature engineering capabilities. Explain by providing code snippet how you can detect missing values and then handle all missing values in
Spark API provides many feature engineering capabilities. Explain by providing code snippet how you can detect missing values and then handle all missing values in a column(X) in a Spark DataFrame (DF) (i.e., DF.select(X) as given below) and replace the missing values with the median of that column (i.e., column X)? What are the median, standard deviation and the mean of the column X after replacing the missing values?.You can use Spark API website and Google Colab to develop your code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
