0
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Jupyter Notebookで作業する際の注意点(備忘録)

Posted at

#1.この記事の内容

Jupyter Notebookで作業しない期間が空いたりすると忘れることがあるので,本記事に集約していく予定です.

#2. 備忘録
##2-1. 自作モジュール更新の自動反映方法
Jupyter Notebookで自作モジュール使用する際に,下記autoreloadの設定をしておかないとモジュールの更新が自動反映されないので,注意が必要です.

%load_ext autoreload
%autoreload 2

2016年の古い記事(stackoverflow)では,メニューバーの[Kernel] → [Restart & Clear Output]を実行する回答がされていますが,iPython公式にも書かれているautoreloadを使う方が便利だと思います.

#3.関連リンク

0
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?