polyTEM.statistics.remove_outliers¶
- polyTEM.statistics.remove_outliers(data, col, method='IQR')¶
removes outliers from pandas database using method input INPUT: data = pandas dataframe col = string of column name method = ‘IQR’, data more than 1.5*IQR outside the IQR are considered outliers.
‘mean’, data more than 4 standard deviations from the mean are considered outliers.