📅  最后修改于: 2022-03-11 14:58:19.876000             🧑  作者: Mango
#Feature scaling
from sklearn.preprocessing import StandardScaler
ss=StandardScaler()
X_scaled=ss.fit_transform(df)
x=pd.DataFrame(data=X_scaled,columns=df.columns)