Skip to content

Commit 3bc56fd

Browse files
hongshaoyangJulianWgs
authored andcommitted
DOC: Clarify display.precision (pandas-dev#37030)
1 parent b80def2 commit 3bc56fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/core/config_init.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ def use_numba_cb(key):
8585

8686
pc_precision_doc = """
8787
: int
88-
Floating point output precision (number of significant digits). This is
89-
only a suggestion
88+
Floating point output precision in terms of number of places after the
89+
decimal, for regular formatting as well as scientific notation. Similar
90+
to ``precision`` in :meth:`numpy.set_printoptions`.
9091
"""
9192

9293
pc_colspace_doc = """
@@ -255,7 +256,7 @@ def use_numba_cb(key):
255256

256257
pc_max_seq_items = """
257258
: int or None
258-
when pretty-printing a long sequence, no more then `max_seq_items`
259+
When pretty-printing a long sequence, no more then `max_seq_items`
259260
will be printed. If items are omitted, they will be denoted by the
260261
addition of "..." to the resulting string.
261262

0 commit comments

Comments
 (0)