how to get rid of warnings in jupyter notebook code example Example: jupyter ignore warnings import warnings warnings.filterwarnings('ignore')