Challenge
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 5
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 3.33
Challenge
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 3.33Seksjon 3. Kapittel 5
single