Panda: Scaling Select Colums
import pandas as pd import numpy as np from sklearn import preprocessing dfTest = pd.DataFrame({'A':[14.00,90.20,90.95,96.27,91.21],'B':[103.02,107.26,110.35,114.23,114.68], 'C':['big','small','big','small','small']}) min_max_scaler = preprocessing.MinMaxScaler() def scaleColumns(df, cols_to_scale): for col in cols_to_scale: df[col] =
| Penerbit | Taratsa |
|---|---|
| Tahun | 2019-08-09 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:a18bf123-f4ed-5024-9cbd-15e32054578c |