Styler.bar()

Styler.bar(subset=None, axis=0, color='#d65f5f', width=100) [source]

Color the background color proptional to the values in each column. Excludes non-numeric data by default.

New in version 0.17.1.

Parameters:

subset: IndexSlice, default None

a valid slice for data to limit the style application to

axis: int

color: str

width: float

A number between 0 or 100. The largest value will cover width percent of the cell?s width

Returns:

self : Styler

doc_Pandas
2017-01-12 04:55:33
Comments
Leave a Comment

Please login to continue.