Skip to content

Instantly share code, notes, and snippets.

@HeenaR17
Created April 3, 2021 15:18
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/77043857194b438f07b018f398b743df to your computer and use it in GitHub Desktop.
Save HeenaR17/77043857194b438f07b018f398b743df to your computer and use it in GitHub Desktop.
#Min max scaling
from sklearn.preprocessing import MinMaxScaler
scaler = MinMaxScaler()
scaled_2=scaler.fit_transform(df1)
scaled_2
pd.DataFrame(scaled_2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment