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