Convert Categorical Variables into Quantitative Variables
This course will introduce basic methods to convert categorical variables into quantitative variables for analysis using Python. Without properly prepared data, your model is likely to be inaccurate or incomplete.
What you'll learn
In this course, Converting Categorical Variables into Quantitative Variables, you’ll learn how to use basic Python functions to recode data for more effective analysis. First, you’ll review the difference between categorical variables and quantitative variables. Next, you’ll learn the concept of one-hot encoding, a common method for processing categorical data in machine learning algorithms. Finally, you’ll learn how to use the get_dummies method in Pandas to perform one-hot encoding. When you’re finished with this course, you’ll have the knowledge needed to prepare your categorical data for machine learning or data analysis.