pandas.io.formats.style.Styler.set_precision

Styler.set_precision(precision)[source]

Set the precision used to display values.

Deprecated since version 1.3.0.

Parameters
precision:int
Returns
self:Styler

Notes

This method is deprecated see Styler.format.

© 2008–2021, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.3.4/reference/api/pandas.io.formats.style.Styler.set_precision.html