python study notes outlier detection and filtering 4.1_

1, view the data distribution data.describe ()

2, find the value in a column that meet the filter criteria

 3, to find rows that meet the filter criteria

 4, with np.sign (data) * 3 disposed absolute standard

data[np.abs(data)>3]=np.sign(data)*3
data.describe()

 

 

 

 

Guess you like

Origin www.cnblogs.com/dlp-527/p/11828699.html