python输出省略号问题
转载地址
numpy
np.set_printoptions(threshold=10000) # 这个参数填的是你想要多少行显示
np.set_printoptions(linewidth=10000) # 这个参数填的是横向多宽
实验可以:
np.set_printoptions(threshold=np.inf)
pandas
pd.set_option('display.max_rows', None) # 可以填数字,填None表示'行'无限制
pd.ser_option('display.max_columns', None) # 可以填数字,填None表示'列'无限制