i am in python , i am try to make scaling to data frame
subject_id hour_measure urinecolor blood pressure
3 1.00 red 40
1.15 red high
4 2.00 yellow low
as it that contain numeric and text columns the following code gives me error
#MinMaxScaler for Data
scaler = MinMaxScaler(copy=True, feature_range=(0, 1))
X = scaler.fit_transform(X)
it gives me error as the data frame contain string , how can i tell python to only scale columns contain numbers , and also scale numeric values in string columns .