问题描述: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=sys.maxsize)