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