class_docstr: An extension to ``Styler`` that allows for and manipulates tooltips on hover
  of ``<td>`` cells in the HTML result.
  
  Parameters
  ----------
  css_name: str, default "pd-t"
      Name of the CSS class that controls visualisation of tooltips.
  css_props: list-like, default; see Notes
      List of (attr, value) tuples defining properties of the CSS class.
  tooltips: DataFrame, default empty
      DataFrame of strings aligned with underlying Styler data for tooltip
      display.
  
  Notes
  -----
  The default properties for the tooltip CSS class are:
  
      - visibility: hidden
      - position: absolute
      - z-index: 1
      - background-color: black
      - color: white
      - transform: translate(-20px, -20px)
  
  Hidden visibility is a key prerequisite to the hover functionality, and should
  always be included in any manual properties specification.
class_docstr_tok: ["An","extension","to","``","Styler","``","that","allows","for","and","manipulates","tooltips","on","hover","of","``","<","td",">","``","cells","in","the","HTML","result",".","Parameters","--","--","--","--","--","css_name",":","str",",","default","``","pd-t","''","Name","of","the","CSS","class","that","controls","visualisation","of","tooltips",".","css_props",":","list-like",",","default",";","see","Notes","List","of","(","attr",",","value",")","tuples","defining","properties","of","the","CSS","class",".","tooltips",":","DataFrame",",","default","empty","DataFrame","of","strings","aligned","with","underlying","Styler","data","for","tooltip","display",".","Notes","--","--","-","The","default","properties","for","the","tooltip","CSS","class","are",":","-","visibility",":","hidden","-","position",":","absolute","-","z-index",":","1","-","background-color",":","black","-","color",":","white","-","transform",":","translate","(","-20px",",","-20px",")","Hidden","visibility","is","a","key","prerequisite","to","the","hover","functionality",",","and","should","always","be","included","in","any","manual","properties","specification","."]
docstr: For every table data-cell that has a valid tooltip (not None, NaN or
  empty string) must create two pseudo CSS entries for the specific
  <td> element id which are added to overall table styles:
  an on hover visibility change and a content change
  dependent upon the user's chosen display string.
  
  For example:
      [{"selector": "T__row1_col1:hover .pd-t",
       "props": [("visibility", "visible")]},
      {"selector": "T__row1_col1 .pd-t::after",
       "props": [("content", "Some Valid Text String")]}]
  
  Parameters
  ----------
  uuid: str
      The uuid of the Styler instance
  name: str
      The css-name of the class used for styling tooltips
  row : int
      The row index of the specified tooltip string data
  col : int
      The col index of the specified tooltip string data
  text : str
      The textual content of the tooltip to be displayed in HTML.
  
  Returns
  -------
  pseudo_css : List
code: def _pseudo_css(
      self, uuid: str, name: str, row: int, col: int, text: str
  ):
      """
      For every table data-cell that has a valid tooltip (not None, NaN or
      empty string) must create two pseudo CSS entries for the specific
      <td> element id which are added to overall table styles:
      an on hover visibility change and a content change
      dependent upon the user's chosen display string.
  
      For example:
          [{"selector": "T__row1_col1:hover .pd-t",
           "props": [("visibility", "visible")]},
          {"selector": "T__row1_col1 .pd-t::after",
           "props": [("content", "Some Valid Text String")]}]
  
      Parameters
      ----------
      uuid: str
          The uuid of the Styler instance
      name: str
          The css-name of the class used for styling tooltips
      row : int
          The row index of the specified tooltip string data
      col : int
          The col index of the specified tooltip string data
      text : str
          The textual content of the tooltip to be displayed in HTML.
  
      Returns
      -------
      pseudo_css : List
      """
      selector_id = "#T_" + uuid + "_row" + str(row) + "_col" + str(col)
      return [
          {
              "selector": selector_id + f":hover .{name}",
              "props": [("visibility", "visible")],
          },
          {
              "selector": selector_id + f" .{name}::after",
              "props": [("content", f'"{text}"')],
          },
      ]
  
imports: from __future__ import annotations
  from collections import defaultdict
  from functools import partial
  import re
  from typing import Any, Callable, DefaultDict, Dict, List, Optional, Sequence, Tuple, TypedDict, Union
  from uuid import uuid4
  import numpy
  from pandas._config import get_option
  from pandas._libs import lib
  from pandas._typing import Axis, Level
  from pandas.compat._optional import import_optional_dependency
  from pandas.core.dtypes.common import is_complex, is_float, is_integer
  from pandas.core.dtypes.generic import ABCSeries
  from pandas import DataFrame, Index, IndexSlice, MultiIndex, Series, isna
  from pandas.api.types import is_list_like
  import pandas.core.common
  from markupsafe import escape
label_desc: Use image node_id 3 for calling the Tooltips obj's underlying member method code with example usage: obj._pseudo_css(uuid, name, row, col, text) and returns: list