Challenge
Uppgift
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.
- Determine for which columns to use ordinal encoding, one-hot encoding, and for which label encoding.
- Convert columns.
- Output the dataset.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 5
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.33
Challenge
Svep för att visa menyn
Uppgift
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.
- Determine for which columns to use ordinal encoding, one-hot encoding, and for which label encoding.
- Convert columns.
- Output the dataset.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 3.33Avsnitt 3. Kapitel 5
single