Loading

Python屏蔽warnings

关于屏蔽FutureWarning: The default value of regex will change from True to False in a future version.的输出信息的方法:

import warnings
warnings.filterwarnings("ignore")#忽略警告
posted @ 2021-08-16 15:03  橘崽崽啊  阅读(412)  评论(0编辑  收藏  举报