📜  图偏度检测 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:23.483000             🧑  作者: Mango

代码示例1
#checking for skewness
numerical_features=[feature for feature in df.columns if df[feature].dtypes!='object']
for feature in numerical_features:
    if feature=='class(target)':
        pass
    else:
    
        
        df[feature].hist()
        plt.xlabel(feature)
        plt.show()