ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation #1
问题描述:ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation #12987
解决方案:
找到出问题的位置
输入代码
import sys
把
np.set_printoptions(threshold=np.nan)
改为:
np.set_printoptions(threshold=np.maxsize)
...
原创
2020-09-07 11:28:30 ·
431 阅读 ·
0 评论