-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: clarify idxmax behaviour issue #18206 #18209
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -811,7 +811,9 @@ def duplicated(self, keep='first'): | |
|
||
@Appender(ibase._index_shared_docs['fillna']) | ||
def fillna(self, value=None, downcast=None): | ||
# isna is not implemented for MultiIndex | ||
""" | ||
isna is not implemented for MultiIndex | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. isna -> fillna There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jorisvandenbossche please see PR #18269 for changes related to |
||
""" | ||
raise NotImplementedError('isna is not defined for MultiIndex') | ||
|
||
@Appender(_index_shared_docs['dropna']) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1336,7 +1336,8 @@ def idxmax(self, axis=None, skipna=True, *args, **kwargs): | |
Parameters | ||
---------- | ||
skipna : boolean, default True | ||
Exclude NA/null values | ||
Exclude NA/null values. If an entire row/column is NA, the result | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "an entire row/column" -> "the entire Series" |
||
will be NA. | ||
|
||
Returns | ||
------- | ||
|
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.
should this line be removed?
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 so. That appends additional documentation.
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.
Ah, but I see #18018. In that case, leave this alone for this PR. Make the change in a subsequent PR.
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.
Moved
fillna
changes to PR #18269 .