Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

min max scaler on one column

from sklearn.preprocessing import minmax_scale

df[['x','z']] = minmax_scale(df[['x','z']])
Comment

PREVIOUS NEXT
Code Example
Python :: boston data set to pandas df 
Python :: django load model by name 
Python :: ignore bad lines pandas 
Python :: random chiece python 
Python :: use sqlalchemy to create sqlite3 database 
Python :: taking string input from user in python 
Python :: use miraculous with token 
Python :: what is nea in python 
Python :: def __init__ python not overwrite parrent class 
Python :: Liczby zespolone Python 
Python :: gmpy2 is prime 
Python :: requirements.txt flask 
Python :: how to set the location on a pygame window 
Python :: pandas get index of max value in column 
Python :: Python program to remove duplicate characters of a given string. 
Python :: converting a string to a dictionary in python 
Python :: undefie int value python 
Python :: get most repeated instance in a queryset django 
Python :: pandas print duplicate rows 
Python :: save plot in python 
Python :: pandas number of observations 
Python :: python interpreter clear screen 
Python :: spacy frenc hlemmatizer 
Python :: pandas write to csv without first line 
Python :: python pandas remove punctuation 
Python :: how to clear an array python 
Python :: how to subtract minutes from time in python 
Python :: How to efficiently create a median finder for a stream of values, in Python? 
Python :: Date difference in minutes in Python 
Python :: datetime date of 10 years ago python 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =