I am having trouble in getting number of outliers in a column of a dataset. Please provide a coding using zscore method in python

前端 未结 0 811
一个人的身影
一个人的身影 2020-12-07 18:01
file=input()
df=pd.read_csv(file)
column=input()
col_std=df[column].std()
for i in column:
    outlier=0
    z_score=?
    if z_score>3:
        outlier+=1
print(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题