運行Jupyter notebook的時候偶爾會提醒有錯誤信息,讓人很煩惱,解決這個問題只需要在cell行內添加一下命令。 #隱藏警告 import warnings warnings.filterwarnings('ignore')