Skip to content

Instantly share code, notes, and snippets.

@calstad
Created December 8, 2016 21:05
Show Gist options
  • Save calstad/a3d70f9dfc7f40a45f25ccd0d4290a98 to your computer and use it in GitHub Desktop.
Save calstad/a3d70f9dfc7f40a45f25ccd0d4290a98 to your computer and use it in GitHub Desktop.
scaler = preprocessing.StandardScaler().fit(encoded_df)
scaled_data = scaler.transform(encoded_df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment