jupiternotebook写程序时,遇到类似这种警告信息,虽然不影响运行,但是总出现就很烦;
在代码中输入:
import warnings warnings.filterwarnings("ignore")
即可解决;