Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge | Processing Categorical Data
course content

Course Content

Data Preprocessing

ChallengeChallenge

Task

Here is the 'students.csv' dataset, which contains 4 columns, 3 of which are categorical. Your task is to process this dataset and encode all categorical variables.

  1. Determine for which columns to use ordinal encoding, one-hot encoding, and for which label encoding.
  2. Convert columns.
  3. Output the dataset.

Everything was clear?

Section 3. Chapter 5
toggle bottom row
course content

Course Content

Data Preprocessing

ChallengeChallenge

Task

Here is the 'students.csv' dataset, which contains 4 columns, 3 of which are categorical. Your task is to process this dataset and encode all categorical variables.

  1. Determine for which columns to use ordinal encoding, one-hot encoding, and for which label encoding.
  2. Convert columns.
  3. Output the dataset.

Everything was clear?

Section 3. Chapter 5
toggle bottom row
some-alt