I've been having a problem at work lately, and elsewhere for a while. When running Jupyter notebooks with large amounts of data, sometimes I am debugging both the notebook and a local import it is using. The problem that arrises is when a local import changes, simply re-running the import statement is not effective, the kernel must be restarted. The main problem with this is many of these notebooks take hours to catch back up to where the bug was found, so restarting the kernel is not ideal. Fortunately, I finally Googled my issue and found a simple solution.
from importlib import reload
reload(import_object)
Once the reload function is called, the latest version of the import should be loaded in.