ipython notebook hide warnings code example Example: jupyter ignore warnings import warnings warnings.filterwarnings('ignore')