Skip to content

Commit 3788d74

Browse files
authored
DOC: add a link to new styler method (pandas-dev#37998)
1 parent c2b1337 commit 3788d74

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

doc/source/reference/style.rst

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Style application
3636
Styler.where
3737
Styler.format
3838
Styler.set_precision
39+
Styler.set_td_classes
3940
Styler.set_table_styles
4041
Styler.set_table_attributes
4142
Styler.set_caption

pandas/io/formats/style.py

-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ def set_td_classes(self, classes: DataFrame) -> "Styler":
565565
' <tr><td class="data row0 col0 other-class" >1</td></tr>'
566566
' </tbody>'
567567
'</table>'
568-
569568
"""
570569
classes = classes.reindex_like(self.data)
571570

0 commit comments

Comments
 (0)