From 83b5188efc803bf80331cf1d938626173046da11 Mon Sep 17 00:00:00 2001 From: Shao Yang Hong Date: Sat, 10 Oct 2020 22:34:13 +0800 Subject: [PATCH] DOC: Clarify display.precision - Fix #21004 --- pandas/core/config_init.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index bfe20551cbcfc..541ecd9df6fc7 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -85,8 +85,9 @@ def use_numba_cb(key): pc_precision_doc = """ : int - Floating point output precision (number of significant digits). This is - only a suggestion + Floating point output precision in terms of number of places after the + decimal, for regular formatting as well as scientific notation. Similar + to ``precision`` in :meth:`numpy.set_printoptions`. """ pc_colspace_doc = """ @@ -249,7 +250,7 @@ def use_numba_cb(key): pc_max_seq_items = """ : int or None - when pretty-printing a long sequence, no more then `max_seq_items` + When pretty-printing a long sequence, no more then `max_seq_items` will be printed. If items are omitted, they will be denoted by the addition of "..." to the resulting string.