Having issues with this Lab. Need to complete to finish the course. All the tests are passed, but issues start after UNQ_C3 even though it passes the test. Latest is it can’t find pandas when pandas is there.
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
TypeError: ‘(slice(None, None, None), 0)’ is an invalid key
When i submit the Lab, I get:
Cell #18. Can’t compile the student’s code. Error: ModuleNotFoundError(“No module named ‘pandas’”)
It’s possible that the metadata in your notebook (which the grader uses) has become modified or deleted.
This can happen for a number of reasons, like adding cells, deleting cells, moving or copying cells, or using some other platform to edit the notebook and then uploading it back to Coursera for grading.
You may need to delete your current ipynb notebook file, and get a fresh copy and start over.
After using File->Open to delete your notebook, use Lab Help (the ? icon) and then the “Get Latest Version” too.
How do you delete it. I am on a mac have reloaded it the lab multiple times. After warning me that I’d lose all my work, it brings back the same thing.
I’ll all ears if you can tell me how to do either. Like I said those options do not exist for me. I can download the files or replace them from the help menu. I don’t know why there is no option for an admin to do this in cases like this. Been at this for 2 weeks. Course and every other lab/test before and after is complete already…really frustrated!