-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DEPR: Series.nlargest/nsmallest take_last. #10920
Merged
Merged
Conversation
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
sinhrks
added
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Deprecate
Functionality to remove in pandas
labels
Aug 28, 2015
1 task
if f.__name__ in ['nsmallest', 'nlargest']: | ||
if len(args) == 0: | ||
decl = ['self', 'n=5', "keep='first'"] | ||
args = ['self', 'n', 'keep'] |
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.
don't do this
simply define the function and treat normally (eg see irow)
sinhrks
force-pushed
the
nlargest
branch
2 times, most recently
from
August 28, 2015 21:59
2fb8bdc
to
3a8d1d6
Compare
@jreback Yes, updated. |
jreback
added a commit
that referenced
this pull request
Aug 29, 2015
DEPR: Series.nlargest/nsmallest take_last.
thank you sir! |
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 16, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 16, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
gfyoung
added a commit
to forking-repos/pandas
that referenced
this pull request
Mar 17, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-devgh-10236, pandas-devgh-10792, pandas-devgh-10920.
AnkurDedania
pushed a commit
to AnkurDedania/pandas
that referenced
this pull request
Mar 21, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-dev#10236, pandas-dev#10792, pandas-dev#10920. Author: gfyoung <gfyoung17@gmail.com> Closes pandas-dev#15710 from gfyoung/create-last-kw-drop and squashes the following commits: b416290 [gfyoung] MAINT: Drop take_last kwarg from method signatures
mattip
pushed a commit
to mattip/pandas
that referenced
this pull request
Apr 3, 2017
Affected methods: 1) nlargest 2) nsmallest 3) duplicated 4) drop_duplicates xref pandas-dev#10236, pandas-dev#10792, pandas-dev#10920. Author: gfyoung <gfyoung17@gmail.com> Closes pandas-dev#15710 from gfyoung/create-last-kw-drop and squashes the following commits: b416290 [gfyoung] MAINT: Drop take_last kwarg from method signatures
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #10792.
Because using
deprecate_kwargs
hides original impl, used ugly workaround forGroupBy
...