遇到错误:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
numpy版本为1.17.0,降至1.16.4就不会报错了
本文解决了一个在使用numpy 1.17.0版本时遇到的FutureWarning警告问题,该问题在将numpy版本降至1.16.4后不再出现。
遇到错误:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
numpy版本为1.17.0,降至1.16.4就不会报错了
5134
9万+
777
1503

被折叠的 条评论
为什么被折叠?