How To Perform Data Encoding In Python

Published: 22 August 2021
on channel: Analytics with Adam
2,200
87

#Python #DataEncoding #PythonData
How To Perform Data Encoding In Python
In this video we are going to run through how to perform data encoding in python.
We will take a car dataset and identify source columns where we can perform categorical encoding.

We will perform our data encoding in python with the pd.getdummies function and also use the pd.cut function in order to bin numeric data to reduce the number of categorical columns output by the pd.getdummies function.

Although there are more robust encoding strategies using scikitlearn and pipelines, I think this method is the best for beginners to easily apply.

The colab notebook is avaliable in github if you want to try this out for yourself just click open in colab to get started:

https://github.com/SuperDataWorld/Pyt...


Watch video How To Perform Data Encoding In Python online without registration, duration hours minute second in high quality. This video was added by user Analytics with Adam 22 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,200 once and liked it 87 people.