Use OneHotEncoder -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180802/a5d94006/attachment.html>