-
-
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
BUG: reindex would throw when a categorical index was empty #16770 #16820
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3092bbc
BUG: reindex would throw when a categorical index was empty #16770
ri938 69454ec
Minor corrections to previous submit (#16820)
ri938 0a20024
Minor correction to previous submit
ri938 0645868
Add backticks in documentation
ri938 8f8e3d6
TST: register slow marker (#16797)
ri938 a725fbf
BUG: Fix read of py3 PeriodIndex DataFrame HDF made in py2 (#16781) (…
forbdonut 800b40d
BUG: render dataframe as html do not produce duplicate element id's (…
ri938 5362447
fix BUG: ValueError when performing rolling covariance on multi index…
59b17cd
BUG: rolling.cov with multi-index columns should presever the MI (#16…
jreback 26e1a60
Move documentation of change to the next major release 0.21.0
ri938 9ed80f0
Bring documentation into line with master branch.
ri938 6e8f1b3
Minor corrections to previous submit (#16820)
ri938 7acc09f
Minor correction to previous submit
ri938 eab3192
Merge branch 'master' into bug_issue16770
ri938 83fd749
Update v0.20.3.txt
ri938 1f2865e
Update v0.20.3.txt
ri938 9802288
Update v0.20.3.txt
ri938 0e2d315
Merge branch 'master' into bug_issue16770
ri938 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
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.
if len(indexer)
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.
In the case the target is [1] say and the categorical index is empty then indexer here will be [-1] so not empty. The error occurs when try to run take on the empty underlying index.
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.
right its missing, so ok then.