how to avoid warning on jupyter notebook code example Example: suppress warning jupyter notebook import warnings warnings.filterwarnings('ignore')