Python -- print(dataframe)时,省略部分列。

import pandas as pd
# 导入后加入以下列,再显示时显示完全。
pd.set_option('display.max_rows',500)
pd.set_option('display.max_columns',500)
pd.set_option('display.width',1000)
原文地址:https://www.cnblogs.com/keepSmile/p/9578854.html