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()