diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 5a6425ef4ec8c..782562f455607 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -222,7 +222,7 @@ def _init_tooltips(self): if self.tooltips is None: self.tooltips = _Tooltips() - def set_tooltips(self, ttips: DataFrame) -> "Styler": + def set_tooltips(self, ttips: DataFrame) -> Styler: """ Add string based tooltips that will appear in the `Styler` HTML result. These tooltips are applicable only to`` elements. @@ -268,7 +268,7 @@ def set_tooltips_class( self, name: Optional[str] = None, properties: Optional[Sequence[Tuple[str, Union[str, int, float]]]] = None, - ) -> "Styler": + ) -> Styler: """ Manually configure the name and/or properties of the class for creating tooltips on hover.