-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: fix formatting in the ExtensionArray docstrings #28686
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
Hello @HughKelley! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-10-14 21:05:31 UTC |
@datapythonista, seen above, there was an existing style error in the file modified for this pull request. Should I just go ahead and fix the line that is too long? |
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 working on this, just couple of comments.
pandas/core/arrays/base.py
Outdated
|
||
.. versionadded:: 0.24.0 | ||
|
||
Returns | ||
------- | ||
shifted : ExtensionArray | ||
ExtensionArray |
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.
I think this needs to be unindented to render properly
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.
agreed, thanks
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.
@HughKelley can you fix this please, so we can merge. Thanks!
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.
@datapythonista should I make the change with an additional commit or is there another way to do this?
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.
Additional commit.
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.
Can you fix the indantation here @HughKelley please?
7e834a4
to
149ba48
Compare
pandas/core/arrays/base.py
Outdated
|
||
Returns | ||
------- | ||
ExtensionArray | ||
A view of the :class:`ExtensionArray` calling :meth:`view`. |
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.
I don’t think the :meth: resolves to anything.
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, It looked to me as though that functionality was not fully built out so I just tried to describe it as literally as possible in order to pass the checks. Would A view of the :class:
ExtensionArray`` be sufficient?
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.
yes, I think removing the calling...
is good enough, thanks @HughKelley
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, thanks @HughKelley
First contribution to a project. Thanks for the help and direction! |
You're welcome. Hopefully not the last one. :) |
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 as well ping when CI is green
@WillAyd thanks! |
Thanks @HughKelley |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff