@@ -36,21 +36,25 @@ horizontal scrolling, auto-detection of width/height.
3636To appropriately address all these environments, the display behavior is controlled
3737by several options, which you're encouraged to tweak to suit your setup.
3838
39- As of 0.12 , these are the relevant options, all under the `display ` namespace,
40- (e.g. display.width, etc' ):
39+ As of 0.13 , these are the relevant options, all under the `display ` namespace,
40+ (e.g. `` display.width `` , etc. ):
4141
4242- notebook_repr_html: if True, IPython frontends with HTML support will display
4343 dataframes as HTML tables when possible.
44- - expand_repr (default True): when the frame width cannot fit within the screen,
45- the output will be broken into multiple pages to accomedate. This applies to
46- textual (as opposed to HTML) display only.
47- - max_columns: max dataframe columns to display. a wider frame will trigger
48- a summary view, unless `expand_repr ` is True and HTML output is disabled.
49- - max_rows: max dataframe rows display. a longer frame will trigger a summary view.
50- - width: width of display screen in characters, used to determine the width of lines
51- when expand_repr is active, Setting this to None will trigger auto-detection of terminal
52- width, this only works for proper terminals, not IPython frontends such as ipnb.
53- width is ignored in IPython notebook, since the browser provides horizontal scrolling.
44+ - large_repr (default 'truncate'): when a :class: `~pandas.DataFrame `
45+ exceeds max_columns or max_rows, it can be displayed either as a
46+ truncated table or, with this set to 'info', as a short summary view.
47+ - max_columns (default 20): max dataframe columns to display.
48+ - max_rows (default 60): max dataframe rows display.
49+
50+ Two additional options only apply to displaying DataFrames in terminals,
51+ not to the HTML view:
52+
53+ - expand_repr (default True): when the frame width cannot fit within
54+ the screen, the output will be broken into multiple pages.
55+ - width: width of display screen in characters, used to determine the
56+ width of lines when expand_repr is active. Setting this to None will
57+ trigger auto-detection of terminal width.
5458
5559IPython users can use the IPython startup file to import pandas and set these
5660options automatically when starting up.
0 commit comments