What is One-Hot Encoding and how to use Pandas get_dummies function

A complete One-Hot Encoding tutorial for beginners

B. Chen
Towards Data Science
7 min readJun 18, 2020

--

Photo by Hope House Press — Leather Diary Studio on Unsplash

I get questions all the time about some concepts in machine learning and what they really mean, for example, in one of my previous articles Google’s 7 steps of Machine Learning in practice, I get asked what is one-hot encoding, and when should we use it? That’s is a…

--

--