I\'m new to python and trying to figure out where my error messages are coming from is difficult. I wrote a code to use some existing (more complicated) code in a Jupyter notebo