class pandas.formats.style.Styler(data, precision=None, table_styles=None, uuid=None, caption=None, table_attributes=None) [source]
Helps style a DataFrame or Series according to the data with HTML and CSS. New in version 0.17.1. Warning This is a new feature and is under active development. We?ll be adding features and possibly making breaking changes in future releases. Parameters:
data: Series or DataFrame precision: int precision to round floats to, defaults to pd.options.display.