IPythonで自動リロード
#python
code:python
%load_ext autoreload
%autoreload 2
詳細:
https://ipython.readthedocs.io/en/stable/config/extensions/autoreload.html