1#Feature scaling
2from sklearn.preprocessing import StandardScaler
3ss=StandardScaler()
4X_scaled=ss.fit_transform(df)
5x=pd.DataFrame(data=X_scaled,columns=df.columns
1#Feature scaling
2from sklearn.preprocessing import StandardScaler
3ss=StandardScaler()
4X_scaled=ss.fit_transform(df)
5x=pd.DataFrame(data=X_scaled,columns=df.columns)