Jupyter notebook - do not display warning warnings

When using jupyter notebook to program, we often encounter that after running the code, the result can be successfully run, but there will be a series of warning warning messages in front, we can use the code to hide the warning.

import warnings
warnings.filterwarnings("ignore")

Guess you like

Origin blog.csdn.net/qq_52351946/article/details/130900467