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")