Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

standardscaler into df data frame pandas

scaled_features = StandardScaler().fit_transform(df.values)
scaled_features_df = pd.DataFrame(scaled_features, index=df.index, columns=df.columns)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #standardscaler #df #data #frame #pandas
ADD COMMENT
Topic
Name
7+3 =