针对打印不完整的问题
#显示所有列
pd.set_option(‘display.max_columns’, None)
#显示所有行
pd.set_option(‘display.max_rows’, None)
#设置value的显示长度为100,默认为50
pd.set_option(‘max_colwidth’,100)
针对tensor的完整打印
torch.set_printoptions(profile=“full”)
针对numpy的完整打印
np.set_printoptions(threshold=np.inf)