Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BUG/API: bug in multi-index slicing with missing indexers #7866
Comments
jreback
added this to the
0.15.0
milestone
Jul 29, 2014
jreback
added Bug Indexing API Design MultiIndex
labels
Jul 29, 2014
jreback
referenced
this issue
Jul 29, 2014
Merged
BUG: Bug in multi-index slicing with missing indexers (GH7866) #7867
jreback
closed this
in #7867
Jul 30, 2014
jreback
referenced
this issue
Jul 31, 2014
Closed
ERR: reindexed non-included labels on a multiindex are dropped #7886
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jreback commentedJul 29, 2014
I think the following could work and not raise
KeyErrorbecause of a missing indexer. This would follow the API of loc which will be effectively a reindex as long as you have at least 1 found value.