Answers for "reasons for removing outliers"

0

outliers removal

#Removing outliers first then skewness
from scipy.stats import zscore
z=abs(zscore(df))
print(z.shape)
df=df[(z<3).all(axis=1)]
df.shape
Posted by: Guest on August-11-2020

Code answers related to "reasons for removing outliers"

Python Answers by Framework

Browse Popular Code Answers by Language