Created
March 27, 2021 10:22
-
-
Save AyishaR/e583ff87e5bedaebf22ce5c9c3369716 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numeric_columns.remove('consume') | |
ss = StandardScaler() | |
train_df[numeric_columns] = ss.fit_transform(train_df[numeric_columns]) | |
val_df[numeric_columns] = ss.transform(val_df[numeric_columns]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment