Skip to content

Instantly share code, notes, and snippets.

@calstad
Created December 8, 2016 21:05
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 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