OneHotEncoder(categorical_features=
By Julian McDermott at Mar 15 2020
onehotencoder = OneHotEncoder(categorical_features = [1]) X = onehotencoder.fit_transform(X).toarray() X = X[:, 1:]
By Yvonne Schoen at Apr 22 2020