pd.set_option('display.max_columns',None)
时间: 2024-06-01 16:11:18 浏览: 152
pandas实现DataFrame显示最大行列,不省略显示实例
5星 · 资源好评率100%
This line of code sets the maximum number of columns that can be displayed in a pandas dataframe to None, which means there is no limit on the number of columns that can be displayed. By default, pandas will only display a subset of columns if the dataframe has more columns than the maximum allowed. By setting the maximum to None, all columns will be displayed.
阅读全文