How and Why Performing One-Hot Encoding in Your Data Science Project

An article on what one-hot encoding is, why to use it, and how to do it (in Python)

Federico Trotta
Towards Data Science
5 min readJun 27, 2022

--

Photo by Markus Spiske on Unsplash

When working with real data, you often have datasets with “mixed” values: strings and numbers. If you are a novice in the Data Science and Machine Learning world you typically find “perfectly beautiful” columns…

--

--