If got an error if i run 5.2 Absenteeism, that Pets is not in the index. The data ist rubbish.
Please can you help me. Maybe with the right data or some solution in code.
Thanks for reaching out.
There may be an issue with writing ‘Pets’ in plural in the module or code. Please retry with “Pet” and let us know if this solves the issue.
Hope this helps but please feel free to get back to us should you need further assistance. Thank you.
I tried to make the columns of all files in Pet, unfortunately I still get the answer that Pets is not in the index.
I have also tried to adjust the name in the module without success.
Thanks for your reply.
Can you please share your Notebook document and the module you are using in a safe link? I’d like to execute the code on my end, so that I try to figure out the source of the issues better. Thank you.
Hope this helps.
Here is the Dropbox Link, I hope everything you need is in there.https://www.dropbox.com/sh/6zwuh97tcfpnmcb/AAA-uYz-9o93qvfp_2HgOUCca?dl=0
I am unable to run the code you provide smoothly (files 4.15 and 5.10….ipynb). You’ve addressed it to a specific directory on your computer, while to make your code universal, so to speak, you need to address it to the files in the folder where the given Notebook Document has been located.
After I make this correction, 4.15 runs smoothly.
Then, I obtain a different error (even after I remove the Kopie addition that can be found at the end of each):
ModuleNotFoundError: No module named 'absenteeism_module'
So, I need to make the aforementioned modifications and the following ones, to successfully execute the first row from 5.10.:
from absenteeism_module import *
model = absenteeism_model('model', 'scaler')
After I do that, I am able to execute the code with no error. However, please note that I used the absenteeism_module.py that we’ve provided in the course.
In other words, I stumbled upon no Pet/Pets error this way.
Hope this helps but please get back to us should you need further assistance. Thank you.
It’s not working, to bad.