Skip to content

Instantly share code, notes, and snippets.

@HeenaR17
Created April 3, 2021 15:21
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 HeenaR17/9acd34b1d125bfb994c6c2ff65c334ff to your computer and use it in GitHub Desktop.
Save HeenaR17/9acd34b1d125bfb994c6c2ff65c334ff to your computer and use it in GitHub Desktop.
# mean normalisation
from sklearn import preprocessing
scaled_3 = preprocessing.Normalizer().fit_transform(df1)
scaled_3
pd.DataFrame(scaled_3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment