IPython の起動が重くなったら

history のためすぎを疑う。

%clear shadow_compress か %clear shadow_nuke かを試すと良い。詳しくは %clear?

このブログに乗せているコードは引用を除き CC0 1.0 で提供します。