Sectionย 3. Chapterย 5
single
Challenge
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
Sectionย 3. Chapterย 5
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat