Pandas version checks

  • [X] I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.agg.html

Documentation problem

Pandas DOC: Inappropriate bolding in pandas.DataFrame.agg

Here, it seems that the rendering is not appropriate (inappropriate bolding).

Suggested fix for documentation

Perhaps the parts under Return that do not belong to it should be unbolded, or the paragraph layout should be adjusted accordingly.

Maybe related: https://pandas.pydata.org/docs/dev/reference/api/pandas.Series.agg.html

Comment From: futureprogrammer360

The bolding is also present in https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.aggregate.html

Comment From: futureprogrammer360

I'm willing to work on this after the issue is confirmed and the desired behavior is determined.

Comment From: topper-123

This does indeed look wrong, so can confirm.

@futureprogrammer360, 👍 if you want to take this. The desired behavior is to have more sensibly bolded text. Now how to figure out why this does it wrong...

Comment From: futureprogrammer360

take