📜  standardscaler 转换为 df 数据框 pandas - Python 代码示例

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

代码示例1
scaled_features = StandardScaler().fit_transform(df.values)
scaled_features_df = pd.DataFrame(scaled_features, index=df.index, columns=df.columns)