📅  最后修改于: 2022-03-11 14:45:55.887000             🧑  作者: Mango
#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)