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