how to turn off python warnings in jupyter notebooks import warnings warnings.filterwarnings('ignore')