code: def df(request):
      # GH 45804
      return DataFrame(
          {"A": [0, np.nan, 10], "B": [1, request.param[0], 2]},
          dtype=request.param[1],
      )
  
file_path: pandas/pandas/tests/io/formats/style/test_highlight.py
imports: import numpy
  import pytest
  from pandas import NA, DataFrame, IndexSlice
  from pandas.io.formats.style import Styler
label_desc: Use image node_id 1 for calling a global function with example usage: df(request) and returns: DataFrame