-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Do not mention private classes in the documentation #26997
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: Do not mention private classes in the documentation #26997
Conversation
Codecov Report
@@ Coverage Diff @@
## master #26997 +/- ##
==========================================
- Coverage 91.99% 91.99% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46711 46708 -3
- Misses 4063 4066 +3
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26997 +/- ##
==========================================
- Coverage 91.99% 91.99% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46712 46708 -4
- Misses 4062 4066 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
pandas/core/generic.py
Outdated
@@ -56,7 +56,7 @@ | |||
# able to share | |||
_shared_docs = dict() | |||
_shared_doc_kwargs = dict( | |||
axes='keywords for axes', klass='NDFrame', | |||
axes='keywords for axes', klass='DataFrame', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inside this file (generic.py), I would replace all occurences of 'NDFrame' with "Series/DataFrame"
, since those docstrings might be shared by both Series and DataFrame
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jorisvandenbossche I have fixed the issue. How do you think?
…981_do_not_mention_private_classes_in_documentation
Perfect! Thanks a lot |
python validate_docstrings.py --errors=GL04
passedgit diff upstream/master -u -- "*.py" | flake8 --diff