Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

min max scaler on one column

from sklearn.preprocessing import minmax_scale

df[['x','z']] = minmax_scale(df[['x','z']])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #min #max #scaler #column
ADD COMMENT
Topic
Name
1+9 =