Outliers, Outlier Detection, Sklearn Pipeline.
the average of all the values present in the dataset, it is affected by the presence of outliers. The mean shifts towards the outlier[1]. Median: Median is the middle value of the dataset and is not affected the presence of outliers. So we should use median instead of mean when we are dealing with