Closed
Description
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: pd.set_option('line_width', 250)
In [4]: pd.set_option('max_columns', 0)
In [5]: pd.describe_option('max_columns')
display.max_columns:
: int
max_rows and max_columns are used in __repr__() methods to decide if
to_string() or info() is used to render an object to a string.
Either one, or both can be set to 0 (experimental). Pandas will figure
out how big the terminal is and will not display more rows or/and
columns that can fit on it.
In [6]: pd.util.terminal.get_terminal_size()
Out[6]: (138, 43)
In [7]: df = pd.DataFrame(np.random.randn(2,50))
df wraps it columns, but no switch over to summary view
In [9]: pd.__version__
Out[9]: '0.11.0.dev-dad367e'
see also mailing list