Skip to content

Instantly share code, notes, and snippets.

@burnpiro
Created August 6, 2020 16:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save burnpiro/ccf43ac9e22c216f0fc9d8fc50f59df1 to your computer and use it in GitHub Desktop.
if norm_cols:
# Normalize temp and percipation
new_data[norm_cols] = StandardScaler().fit(train_scale[norm_cols]).transform(new_data[norm_cols])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment