Course Content
Data Preprocessing
Data Preprocessing
2. Processing Quantitative Data
3. Processing Categorical Data
4. Time Series Data Processing
6. Moving on to Tasks
Challenge 3
Task
Swipe to show code editor
The last task we have prepared for you is the implementation of feature engineering. You will be working with the 'sales_data.csv'
dataset, and your task will be to create new variables and process categorical and numeric data.
- Use feature engineering to create new columns such as year, month, and day of the week
Date
- Encode the
'Region'
and'Product;
categorical columns with the ohe-hot encoding method - For numeric data (
'Sales'
), you will need to scale the data
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 6. Chapter 3
Challenge 3
Task
Swipe to show code editor
The last task we have prepared for you is the implementation of feature engineering. You will be working with the 'sales_data.csv'
dataset, and your task will be to create new variables and process categorical and numeric data.
- Use feature engineering to create new columns such as year, month, and day of the week
Date
- Encode the
'Region'
and'Product;
categorical columns with the ohe-hot encoding method - For numeric data (
'Sales'
), you will need to scale the data
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 6. Chapter 3
Switch to desktop for real-world practiceContinue from where you are using one of the options below