TIL: Autoreload for Jupyter notebooks
How to skip having to restart your notebook on code changes.
Add these commands to the top of a notebook within a Python cell. Thanks to Jeremy Howard for the tip.
%load_ext autoreload
%autoreload 2

How to skip having to restart your notebook on code changes.
Add these commands to the top of a notebook within a Python cell. Thanks to Jeremy Howard for the tip.
%load_ext autoreload
%autoreload 2