Corrected minor typos in the paragraph below 'Formatting the Display'… · pandas-dev/pandas@c65c8dd (original) (raw)
`@@ -59,9 +59,9 @@
`
59
59
`"\n",
`
60
60
`"### Formatting Values\n",
`
61
61
`"\n",
`
62
``
`-
"The [Styler][styler] distinguishes the display value from the actual value, in both data values and index or columns headers. To control the display value, the text is printed in each cell as string, and we can use the [.format()][formatfunc] and [.format_index()][formatfuncindex] methods to manipulate this according to a [format spec string][format] or a callable that takes a single value and returns a string. It is possible to define this for the whole table, or index, or for individual columns, or MultiIndex levels. We can also overwrite index names\n",
`
``
62
`+
"The [Styler][styler] distinguishes the display value from the actual value, in both data values and index or columns headers. To control the display value, the text is printed in each cell as a string, and we can use the [.format()][formatfunc] and [.format_index()][formatfuncindex] methods to manipulate this according to a [format spec string][format] or a callable that takes a single value and returns a string. It is possible to define this for the whole table, or index, or for individual columns, or MultiIndex levels. We can also overwrite index names.\n",
`
63
63
`"\n",
`
64
``
`` -
"Additionally, the format function has a precision argument to specifically help formatting floats, as well as decimal and thousands separators to support other locales, an na_rep argument to display missing data, and an escape and hyperlinks arguments to help displaying safe-HTML or safe-LaTeX. The default formatter is configured to adopt pandas' global options such as styler.format.precision
option, controllable using with pd.option_context('format.precision', 2):
\n",
``
``
64
`` +
"Additionally, the format function has a precision argument to specifically help format floats, as well as decimal and thousands separators to support other locales, an na_rep argument to display missing data, and an escape and hyperlinks arguments to help displaying safe-HTML or safe-LaTeX. The default formatter is configured to adopt pandas' global options such as styler.format.precision
option, controllable using with pd.option_context('format.precision', 2):
\n",
``
65
65
`"\n",
`
66
66
`"[styler]: ../reference/api/pandas.io.formats.style.Styler.rst\n",
`
67
67
`"[format]: https://docs.python.org/3/library/string.html#format-specification-mini-language\n",
`