Hi
You need to import *LabelEncoder()*

from sklearn.preprocessing import LabelEncoder


*Hope it helps you.*

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/84f58b83-fb0f-4446-85b9-c310fa18e4b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to