Skip to content

Commit 33f6c6f

Browse files
author
y-p
committed
DOC: Update Faq section on repr display options
1 parent b036a7e commit 33f6c6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/source/faq.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ horizontal scrolling, auto-detection of width/height.
3535
To appropriately address all these environments, the display behavior is controlled
3636
by several options, which you're encouraged to tweak to suit your setup.
3737

38-
As of 0.11.0, the relavent options are all under the `display` namespace,
39-
(e.g. display.width, display.height, etc'):
38+
As of 0.11.1, these are the relavent options, all under the `display` namespace,
39+
(e.g. display.width, etc'):
4040
- notebook_repr_html: if True, IPython frontends with HTML support will display
4141
dataframes as HTML tables when possible.
4242
- expand_repr (default True): when the frame width cannot fit within the screen,
@@ -45,10 +45,10 @@ As of 0.11.0, the relavent options are all under the `display` namespace,
4545
- max_columns: max dataframe columns to display. a wider frame will trigger
4646
a summary view, unless `expand_repr` is True and HTML output is disabled.
4747
- max_rows: max dataframe rows display. a longer frame will trigger a summary view.
48-
- width: width of display screen in characters. When using a terminal, setting this to None
49-
will trigger auto-detection of terminal width.
50-
- height: height of display screen. When using a terminal, setting this to None
51-
will trigger auto-detection of terminal height.
48+
- width: width of display screen in characters, used to determine the width of lines
49+
when expand_repr is active, Setting this to None will trigger auto-detection of terminal
50+
width, this only works for proper terminals, not IPython frontends such as ipnb.
51+
width is ignored in IPython notebook, since the browser provides horizontal scrolling.
5252

5353
IPython users can use the IPython startup file to import pandas and set these
5454
options automatically when starting up.

0 commit comments

Comments
 (0)