-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Docstring validation script issues #20318
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
Comments
We're collecting issues on the validation script in #20298 Do you have a PR open? If not, could you make a PR and we'll work through issues there? Easier to comment on the code. |
Ekhm... After some fiddling with the file
My whole docstring (with the issues above NOT yet fixed) below:
|
Oh, hi @TomAugspurger , didn't see your comment. I saw #20298, but thought it's for some actual improvements, not fixing the current state. After my minor change described above the output is much cleaner, I'll fix those issues and submit a PR. In the meantime, my docstring is also above. |
@m-dz Ah, so the problem was the newline character For the |
Looks like it was it, or maybe double backticks, something there. Still need to check the html doc, but I have some troubles building it (will dig more or create an issue later, but an excerpt is the |
Problem description
I am currently working on my PR for documentation sprint (for
pd.DataFrame.to_csv
)) and have a few issues with the docsting validation script, please see below. Master merged ~5 minutes ago, so everything should be up to date."Code"
My "Parameters" section starts with:
Validation script outputs:
Run right one after another, without any change to the doc.
Expected Output
Issues found:
sep
is clearly documented, as far as I can say following section-3-parameters here;Unknown parameters {"'``"}
is caused byline_terminator : str, default ``'\n'```, kind of fixed with
line_terminator : str, default '\n'`, but this also doesn't seem to be correct;path_or_buf
, which seem to be correct (?);Output of
pd.show_versions()
INSTALLED VERSIONS
commit: 2ec022f
python: 3.6.4.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.23.0.dev0+539.g2ec022f0d.dirty
The text was updated successfully, but these errors were encountered: