QuestionQ126
VerifiedData ProcessingA data scientist is using a Spark DataFrame, df, that contains numerical data. They need to remove outliers from the salary column using the Interquartile Range (IQR) method. The cleaned DataFrame must be assigned to cleaned_df.
Which approach correctly removes the outliers?
Community Discussion