pandas.formats.style.Styler.set_precision

Styler.set_precision(precision)

Set the precision used to render.

New in version 0.17.1.

Parameters:precision: int
Returns:self : Styler