📜  标准化列 python 代码示例

📅  最后修改于: 2022-03-11 14:46:47.257000             🧑  作者: Mango

代码示例1
from sklearn.preprocessing import StandardScaler
df[['col1', 'col2']] = StandardScaler().fit_transform(df[['col1', 'col2']])