There was an error while loading. Please reload this page.
np.set_printoptions(threshold=np.nan) 出现报错:threshold must be non-NAN, try sys.maxsize for untruncated representation 可改为: np.set_printoptions(threshold=np.inf) 或者根据提示 先导入 sys 库 import sys 然后将 原语句改为 np.set_printoptions(threshold=sys.maxsize
np.set_printoptions(threshold=np.nan)
np.set_printoptions(threshold=np.inf)
import sys
np.set_printoptions(threshold=sys.maxsize