-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
[DOC] set klass correctly for series and dataframe set_axis #30885
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
Conversation
Thanks @MarcoGorelli for the PR. will look soon. |
sorry @MarcoGorelli struggling to get doc build locally and now AFK for the best part of the day. |
@simonjayhawkins no hurry :) |
@MarcoGorelli should probably also change |
04be986
to
34312d3
Compare
@simonjayhawkins sure, done - thanks for your review! |
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 @MarcoGorelli for the updates.
I missed it the first time round, but now that the docstrings are independent, I think could also update axis to axis : %(axes_single_arg)s, default 0
and re-work the docstrings a bit (separate PR OK)
34312d3
to
160dbb3
Compare
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.
Any chance you can post a screenshot of the built docs?
axis : {0 or 'index', 1 or 'columns'}, default 0 | ||
The axis to update. The value 0 identifies the rows, and 1 | ||
identifies the columns. | ||
axis : %(axes_single_arg)s, default 0 |
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.
Is this actually being substituted?
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.
Looks like it, see below
Thanks @WillAyd for the review. Sure, here's the output of |
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.
lgtm. @WillAyd
Thanks @MarcoGorelli |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff