Last answered:

11 Sept 2025

Posted on:

09 Nov 2021

0

ValueError: X has 11 features, but StandardScaler is expecting 14 features

The answer you have provided is not enough, I don't know how to build scaler and model files

1 answers ( 0 marked as helpful)
Instructor
Posted on:

11 Sept 2025

0

Hi Amardeep!


Thanks for reaching out.


Please note that we have updated the files related to working with the Absenteeism Dataset so that they correspond to the current version of the relevant Python modules. 
You can find the updated files in the resources section of the following lecture:
https://learn.365datascience.com/courses/sql-tableau-python/downloading-the-section-resources/


Feel free to let us know should you encounter any difficulties when using them. Thank you.

Kind regards,
Tsvetelin

Submit an answer