W3cubDocs

/pandas 0.25

pandas.io.formats.style.Styler.set_precision

Styler.set_precision(self, precision) [source]

Set the precision used to render.

Parameters:
precision : int
Returns:
self : Styler

© 2008–2012, 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/0.25.0/reference/api/pandas.io.formats.style.Styler.set_precision.html