-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC: Fix docstring of read_csv and related methods #23496
Comments
@datapythonista I am going to work on them. |
Thanks @thoo I think it makes sense that the same person does the 3, as they are very similar. But feel free to send separate PRs. That probably will makes things simpler. But up to you. |
Sure I will work on all three. |
@datapythonista
but I have the following description.
Even though the docstring output from
Let me know if you want to see the whole output. |
For 1, I think there is a missing blank line between the name/type line, and the directive. Not sure if that's the cause. But I guess it's related to the For 2, you can add a couple of prints in the property Let me know if you need help. |
@datapythonista I still have one issue. When I run
This one should have been fixed by #20061. I will leave a comment there. |
This one is a bit tricky. We validate that the signature and the documented parameters match. So:
Will generate an error that What happen is that Personally, I think the right solution is to change the signature, and add all them. But that's trickier than just changing the docstrings. Shouldn't break anything, but it's more risky than just touching docs. @jreback any reason why we should not add these parameters to the signature? |
The next Excel related functions contain many errors as reported by
scripts/validate_docstrings.py
:We should fix them, following our standards: https://pandas.pydata.org/pandas-docs/stable/contributing_docstring.html
The validation script should not report errors after they are fixed.
The text was updated successfully, but these errors were encountered: