Commit aee0d90
committed
ENH: display_format for style
Closes #11692
Closes #12134
Closes #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 #12134 (spurious 0)
and #12125 (KeyError from using iloc improperly)
cherry pick test from #12126
only allow str formatting for now
fix tests for new spec
formatter callable
update notebook1 parent 70f79ce commit aee0d90
File tree
5 files changed
+10117
-12207
lines changed- doc/source
- whatsnew
- pandas
- core
- tests
5 files changed
+10117
-12207
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
| 1812 | + | |
1812 | 1813 | | |
1813 | 1814 | | |
1814 | 1815 | | |
| |||
0 commit comments