import numpy as np np.set_printoptions(threshold='nan') print(np.array([1]))