pd.set_option('display.max_rows', None) pd.set_option('display.max_columns', None) 这里参数None可以换成你想要展示的行数或列数