1. Learn
  2. /
  3. Courses
  4. /
  5. Working with Categorical Data in Python

Exercise

Creating a Boolean encoding

In preparation for running machine learning models to estimate the sale price of used cars, you are starting to analyze the available columns of the used_cars dataset and want to create columns that can be used in training. One of the managers of a used car dealership has said that the manufacturer of the car is the most important aspect he considers when setting prices. You will begin by exploring the manufacturer_name column.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Print the frequency table of the "manufacturer_name" column.