In the book I am reading when splitting dependent and independent variables it converts X,y into numpy arrays. Is it necessary?
If yes, when performing one-hot encodi