Here's the code
from numpy import asarray
from sklearn.preprocessing import MinMaxScaler
scaler = MinMaxScaler(feature_range=(0,1))
rescaledX = scaler.fit_transform(X)
and it always resulted in
ValueError: could not convert string to float: 'female'
How can I make this work?