formats.style.Styler()

pandas.formats.style.Styler

class pandas.formats.style.Styler(data, precision=None, table_styles=None, uuid=None, caption=None, table_attributes=None)

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登录查看完整内容