Simple play icon Course
Skills

Convert Categorical Variables into Quantitative Variables

by Jason Browning, Ph.D.

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.

About the author

Jason Browning is a data and analytics professional with extensive experience in both the public and private sector. As a Tableau Desktop Certified Professional, Jason loves to build data visualizations that both inform and inspire. He is capable of wrangling messy data both inside and outside of Tableau, and using SQL to perform complex queries. He works in higher education as a data governance and management consultant, and holds a Ph.D. in higher education administration from the University o... more

Ready to upskill? Get started