Challenge
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 5
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 3.33
Challenge
Stryg for at vise menuen
Opgave
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 alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 3.33Sektion 3. Kapitel 5
single