python中FutureWarning问题解决方法
np.array([0,1,2]) == None出现:FutureWarning: comparison to `None` will result in an elementwise object comparison in the future解决方法:将 == 改为 is Also, have you tried is None instead of == None?
转载
2016-05-08 20:20:25 ·
36798 阅读 ·
2 评论