Feature Selection, Python, Statistical Analysis, Data Analysis.
get the fence values min1 = quantile1-(1.5*iqr1) max1 = (1.5*iqr1)+quantile3 # Now use the new filters on the data and get back a smaller array result = [x for x in my_array if x < quantile3 and x > quantile1] Below is a box plot of data with a lot of outliers. And after cleanup the box plots look