-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: append deprecation #45587
Merged
simonjayhawkins
merged 10 commits into
pandas-dev:main
from
gesoos:add-deprecated-to-append-doc
Feb 11, 2022
Merged
DOC: append deprecation #45587
Changes from 2 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e93958a
DOC GH44539
gesoos d05c5b7
corrected replacement
gesoos 06e03fe
Updated doc string
gesoos 131d0ee
Updated doc string
gesoos 0cec30c
Updated doc string
gesoos 541d5e9
Simplified deprecated in docstring
gesoos 00ba4ee
Merge remote-tracking branch 'upstream/main' into add-deprecated-to-a…
simonjayhawkins 6f4b9fb
add one-liner
simonjayhawkins 26cfee1
flake8 fixup
simonjayhawkins 8e55b93
move above extended summary
simonjayhawkins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 know if we need 'append is deprecated'. This IS the append doc-string. We don't do this anywhere else.
Also capital the first letter of the sentence.
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.
@jreback isn't it the same as in
lookup
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.lookup.html , where it says?
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 took inspiration from existing messages that describe the issue. Since append refers to the method, I would not capitalize it.
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.
sure lookup is a full message, this is not.
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 am ok if its a full sentence in a similar way.
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.
What about https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.slice_shift.html?
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.
@gesoos I think if you make it similar to how
lookup
is (suggest to use concat instead, and point to the relevant part of the user guide if there is one - check the whatsnew note) it'll be OKThere 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.
yeah we would like to make these consistent.