Standaryzuj kolumny Python
from sklearn.preprocessing import StandardScaler
df[['col1', 'col2']] = StandardScaler().fit_transform(df[['col1', 'col2']])
Dangerous Dormouse
from sklearn.preprocessing import StandardScaler
df[['col1', 'col2']] = StandardScaler().fit_transform(df[['col1', 'col2']])