Description
Parent Issue: #58063
pandas has a script for validating docstrings:
Lines 92 to 105 in 6a7685f
Currently, some methods fail docstring validation check.
The task is:
- Take 1-5 methods
- Run: scripts/validate_docstrings.py
Example command:
scripts/validate_docstrings.py pandas.core.groupby.DataFrameGroupBy.get_group
Example output:
################################################################################
################################## Validation ##################################
################################################################################
3 Errors found for `pandas.core.groupby.DataFrameGroupBy.get_group`:
ES01 No extended summary found
RT03 Return value has no description
SA01 See Also section not found
-
Check if validation docstrings passes for those methods, and if it’s necessary fix the docstrings according to whatever error is reported. Note: Ignore ES01 errors, these are not required to be fixed.
-
Remove those methods from 'code_checks.sh' if all errors are cleared and the docstring is correct, otherwise, remove the specific error that was fixed from the list of errors for that method.
-
Commit, push, open pull request
Please don't comment take as multiple people can work on this issue. Just comment on which methods you are going to work on.
If you're new contributor, please check the contributing guide