Skip to content

Instantly share code, notes, and snippets.

@burnpiro
Created August 6, 2020 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burnpiro/c724b6839f229386e99aeee281f3cdec to your computer and use it in GitHub Desktop.
Save burnpiro/c724b6839f229386e99aeee281f3cdec to your computer and use it in GitHub Desktop.
if scale_cols:
# Scale year and week no but within (0,1)
new_data[scale_cols] = MinMaxScaler(feature_range=(0, 1)).fit(train_scale[scale_cols]).transform(
new_data[scale_cols])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment