Skip to content

Commit 950b3b1

Browse files
committed
requested changes jreback
1 parent 849b1f4 commit 950b3b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/io/formats/style.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ def _pseudo_css(self, uuid: str, name: str, row: int, col: int, text: str):
18901890
},
18911891
]
18921892

1893-
def _translate(self, styler_data, uuid, d):
1893+
def _translate(self, styler_data: FrameOrSeriesUnion, uuid: str, d: Dict):
18941894
"""
18951895
Mutate the render dictionary to allow for tooltips:
18961896
@@ -1906,6 +1906,10 @@ def _translate(self, styler_data, uuid, d):
19061906
The underlying ``Styler`` uuid for CSS id.
19071907
d : dict
19081908
The dictionary prior to final render
1909+
1910+
Returns
1911+
-------
1912+
render_dict : Dict
19091913
"""
19101914
self.tt_data = (
19111915
self.tt_data.reindex_like(styler_data)

0 commit comments

Comments
 (0)