Зміст курсу
Data Preprocessing
Data Preprocessing
Challenge
Swipe to show code editor
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.
Дякуємо за ваш відгук!
Challenge
Swipe to show code editor
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.
Дякуємо за ваш відгук!
Challenge
Swipe to show code editor
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.
Дякуємо за ваш відгук!
Swipe to show code editor
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.