Skip to content
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/DEPR: clarify argmin/argmax deprecation message #22310

Merged

Conversation

jorisvandenbossche
Copy link
Member

Attempt to better phrase the message, xref #16830 (comment)

'argmin' is deprecated, use 'idxmin' instead. The behavior of 'argmin'
will be corrected to return the positional minimum in the future.
Use 'series.values.argmin' to get the position of the minimum row.""")
the behaviour of 'Series.argmin' is deprecated, use 'idxmin' instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize "the". And maybe add the current behavior.

LGTM otherwise.

@codecov
Copy link

codecov bot commented Aug 13, 2018

Codecov Report

Merging #22310 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #22310   +/-   ##
=======================================
  Coverage   92.08%   92.08%           
=======================================
  Files         169      169           
  Lines       50691    50691           
=======================================
  Hits        46681    46681           
  Misses       4010     4010
Flag Coverage Δ
#multiple 90.49% <ø> (ø) ⬆️
#single 42.34% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/series.py 94.11% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 188a4fc...ef31468. Read the comment docs.

@TomAugspurger TomAugspurger merged commit 601d71f into pandas-dev:master Aug 13, 2018
@jorisvandenbossche jorisvandenbossche deleted the argmax-depr-message branch August 14, 2018 08:45
Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
* DOC/DEPR: clarify argmin/argmax deprecation message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants