Skip to content

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

Merged
merged 4 commits into from
Nov 14, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Add docstring for MultiIndex.fillna (fixes #18018)"
This reverts commit 9885d49.
  • Loading branch information
Fariba Aalamifar committed Nov 13, 2017
commit b414798910e931edca2ec1210c512d94280c3d26
4 changes: 1 addition & 3 deletions pandas/core/indexes/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,9 +811,7 @@ def duplicated(self, keep='first'):

@Appender(ibase._index_shared_docs['fillna'])
Copy link
Contributor Author

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?

Copy link
Member

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.

Copy link
Member

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.

Copy link
Contributor Author

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 .

def fillna(self, value=None, downcast=None):
"""
isna is not implemented for MultiIndex
"""
# isna is not implemented for MultiIndex
raise NotImplementedError('isna is not defined for MultiIndex')

@Appender(_index_shared_docs['dropna'])
Expand Down