Fix docstring groupby
Partially addresses #60365 
Fixes 
```
 -i "pandas.core.groupby.SeriesGroupBy.sem SA01" \ 
```
Thanks for the PR! Can you merge main and resolve the conflicts. @githubalexliu - it looks like the merge has undone your changes. This PR now has no differences from the main branch. Thanks for the PR, but it appears another user has already addressed this entry in the meantime so closing this PR.

Happy to have your contributions towards other ignored docstring validations in `code_checks.sh`