This issue is created based on the discussion from #15931 following the deprecation of relabeling dicts in groupby.agg. A lot of what is summarized below was already discussed in the previous discussion. I would recommend in particular #15931 (comment) where the problems are also clearly stated...
The first representation, but not the second, is provided in digital form to an untrusted recipient. A search for particular content of the second representation, including semantic labels, is requested by the recipient. A highlighted version of the first representation of the document is then ...