Ignore warnings in ipython

In  ~/.ipython/profile_default/startup/disable-warnings.py, put this :

import warnings
warnings.filterwarnings('ignore')

If you want to see warnings only once then do this :

warnings.filterwarnings('once')