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