pd.set_option(‘display.max_columns‘, None)
pd.set_option(‘display.max_rows‘, None)
pd.set_option(‘max_colwidth‘,100)
类似的,对于numpy array print后不能完全显示输入下面代码:
ipmort numpy as np
np.set_printoptions(threshold = np.inf)
np.set_printoptions(suppress = True)
pandas中关于DataFrame行,列显示不完全(省略)的解决办法
原文:https://www.cnblogs.com/lpdeboke/p/13298533.html