Skip to content

Instantly share code, notes, and snippets.

@burnpiro
Created Aug 6, 2020
Embed
What would you like to do?
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