#skewness removal from sklearn.preprocessing import PowerTransformer pt=PowerTransformer(method='yeo-johnson') X_power=pt.fit_transform(X) df=pd.DataFrame(X_power,columns=X.columns)