Skip to content

Commit aee0d90

Browse files
committed
ENH: display_format for style
Closes pandas-dev#11692 Closes pandas-dev#12134 Closes pandas-dev#12125 This adds a `.format` method to Styler for formatting the display value (the actual text) of each scalar value. In the processes of cleaning up the template, I close pandas-dev#12134 (spurious 0) and pandas-dev#12125 (KeyError from using iloc improperly) cherry pick test from pandas-dev#12126 only allow str formatting for now fix tests for new spec formatter callable update notebook
1 parent 70f79ce commit aee0d90

File tree

5 files changed

+10117
-12207
lines changed

5 files changed

+10117
-12207
lines changed

doc/source/api.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,7 @@ Style Application
18091809

18101810
Styler.apply
18111811
Styler.applymap
1812+
Styler.format
18121813
Styler.set_precision
18131814
Styler.set_table_styles
18141815
Styler.set_caption

0 commit comments

Comments
 (0)