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

Contenu du cours

Data Preprocessing

Data Preprocessing

1. Brief Introduction
2. Processing Quantitative Data
3. Processing Categorical Data
4. Time Series Data Processing
5. Feature Engineering
6. Moving on to Tasks

book
Challenge

Tâche

Swipe to start coding

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 5
toggle bottom row

book
Challenge

Tâche

Swipe to start coding

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 5
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
We're sorry to hear that something went wrong. What happened?
some-alt